Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 656 for external (0.14 sec)

  1. docs_src/python_types/tutorial011.py

    
    class User(BaseModel):
        id: int
        name: str = "John Doe"
        signup_ts: Union[datetime, None] = None
        friends: List[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    # > User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3]
    print(user.id)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:56:35 GMT 2023
    - 498 bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/first-steps.md

    ๐Ÿ“‚ ๐Ÿ‘† ๐Ÿ–ฅ <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ ๐ŸŽป ๐Ÿ“จ:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### ๐ŸŽ“ ๐Ÿ› ๏ธ ๐Ÿฉบ
    
    ๐Ÿ”œ ๐Ÿšถ <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ ๐Ÿง ๐ŸŽ“ ๐Ÿ› ๏ธ ๐Ÿงพ (๐Ÿšš <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">๐Ÿฆ ๐ŸŽš</a>):
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/behind-a-proxy.md

    ## Testing locally with Traefik
    
    You can easily run the experiment locally with a stripped path prefix using <a href="https://docs.traefik.io/" class="external-link" target="_blank">Traefik</a>.
    
    <a href="https://github.com/containous/traefik/releases" class="external-link" target="_blank">Download Traefik</a>, it's a single binary, you can extract the compressed file and run it directly from the terminal.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  4. docs/en/docs/advanced/dataclasses.md

    ```Python hl_lines="1  7-12  19-20"
    {!../../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    This is still supported thanks to **Pydantic**, as it has <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">internal support for `dataclasses`</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/body.md

    ์ด์ „ ์Šคํฌ๋ฆฐ์ƒท์€ <a href="https://code.visualstudio.com" class="external-link" target="_blank">Visual Studio Code</a>๋ฅผ ์ฐ์€ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    ํ•˜์ง€๋งŒ ๋˜‘๊ฐ™์€ ํŽธ์ง‘๊ธฐ ์ง€์›์„ <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>์—์„œ ๋ฐ›์„ ์ˆ˜ ์žˆ๊ฑฐ๋‚˜, ๋Œ€๋ถ€๋ถ„์˜ ๋‹ค๋ฅธ ํŽธ์ง‘๊ธฐ์—์„œ๋„ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    <img src="/img/tutorial/body/image05.png">
    
    !!! tip "ํŒ"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/first-steps.md

    ### Check it
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    You will see the JSON response as:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Interactive API docs
    
    Now go to <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. docs/em/docs/contributing.md

    ๐Ÿ“ฅ ๐Ÿ“ถ โ„น โฎ๏ธ โœ.
    
    #### ๐Ÿ’โ€โ™‚ &amp; ๐Ÿ“„
    
    * โœ… โณ <a href="https://github.com/tiangolo/fastapi/pulls" class="external-link" target="_blank">โ™ป ๐Ÿšฒ ๐Ÿ“จ</a> ๐Ÿ‘† ๐Ÿ‡ช๐Ÿ‡ธ &amp; ๐Ÿšฎ ๐Ÿ“„ โœ” ๐Ÿ”€ โš–๏ธ โœ” ๐Ÿ‘ซ.
    
    !!! tip
        ๐Ÿ‘† ๐Ÿ’ช <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request" class="external-link" target="_blank">๐Ÿšฎ ๐Ÿค โฎ๏ธ ๐Ÿ”€ ๐Ÿ”‘</a> โ™ป ๐Ÿšฒ ๐Ÿ“จ.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/first-steps.md

    ![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png)
    
    ### ไป–ใฎAPIใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆ
    
    ๆฌกใซใ€<a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>ใซใ‚ขใ‚ฏใ‚ปใ‚นใ—ใพใ™ใ€‚
    
    ๅ…ˆใปใฉใจใฏ็•ฐใชใ‚‹ใ€่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸๅฏพ่ฉฑ็š„APIใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆใŒ่กจ็คบใ•ใ‚Œใพใ™ (<a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>ใซใ‚ˆใฃใฆๆไพ›):
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/request-files.md

    * ๐Ÿ‘† ๐Ÿ’ช ๐Ÿคš ๐Ÿ—ƒ โšช๏ธโžก๏ธ ๐Ÿ“‚ ๐Ÿ“.
    * โšซ๏ธ โœ”๏ธ <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">๐Ÿ“-๐Ÿ’–</a> `async` ๐Ÿ”ข.
    * โšซ๏ธ ๐ŸŽฆ โ˜‘ ๐Ÿ <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> ๐ŸŽš ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšถโ€โ™€๏ธ ๐Ÿ”— ๐ŸŽ ๐Ÿ—ƒ ๐Ÿ‘ˆ โŒ› ๐Ÿ“-๐Ÿ’– ๐ŸŽš.
    
    ### `UploadFile`
    
    `UploadFile` โœ”๏ธ ๐Ÿ“„ ๐Ÿ”ข:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/nosql-databases.md

    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿšซ ๐Ÿ˜ฐ โฎ๏ธ `f"userprofile::{username}"`, โšซ๏ธ ๐Ÿ "<a href="https://docs.python.org/3/glossary.html#term-f-string" class="external-link" target="_blank">โ“‚-๐ŸŽป</a>".
    
    ๐Ÿ™† ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿšฎ ๐Ÿ”˜ `{}` โ“‚-๐ŸŽป ๐Ÿ”œ โ†” / ๐Ÿ’‰ ๐ŸŽป.
    
    ### `dict` ๐Ÿ—
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿšซ ๐Ÿ˜ฐ โฎ๏ธ `UserInDB(**result.value)`, <a href="https://docs.python.org/3/glossary.html#term-argument" class="external-link" target="_blank">โšซ๏ธ โš™๏ธ `dict` "๐Ÿ—"</a>.
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top