Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,962 for fastapi (0.09 sec)

  1. docs/em/docs/how-to/extending-openapi.md

    ๐Ÿ‘‰ ๐Ÿ“„ ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ โ”.
    
    ## ๐Ÿ˜ ๐Ÿ› ๏ธ
    
    ๐Ÿ˜ (๐Ÿ”ข) ๐Ÿ› ๏ธ, โฉ.
    
    `FastAPI` ๐Ÿˆธ (๐Ÿ‘) โœ”๏ธ `.openapi()` ๐Ÿ‘ฉโ€๐Ÿ”ฌ ๐Ÿ‘ˆ ๐Ÿ“ˆ ๐Ÿ“จ ๐Ÿ—„ ๐Ÿ”—.
    
    ๐Ÿ• ๐Ÿˆธ ๐ŸŽš ๐Ÿ—, *โžก ๐Ÿ› ๏ธ* `/openapi.json` (โš–๏ธ โšซ๏ธโ” ๐Ÿ‘† โš’ ๐Ÿ‘† `openapi_url`) ยฎ.
    
    โšซ๏ธ ๐Ÿ“จ ๐ŸŽป ๐Ÿ“จ โฎ๏ธ ๐Ÿ ๐Ÿˆธ `.openapi()` ๐Ÿ‘ฉโ€๐Ÿ”ฌ.
    
    ๐Ÿ”ข, โšซ๏ธโ” ๐Ÿ‘ฉโ€๐Ÿ”ฌ `.openapi()` ๐Ÿ”จ โœ… ๐Ÿ  `.openapi_schema` ๐Ÿ‘€ ๐Ÿšฅ โšซ๏ธ โœ”๏ธ ๐ŸŽš & ๐Ÿ“จ ๐Ÿ‘ซ.
    
    ๐Ÿšฅ โšซ๏ธ ๐Ÿšซ, โšซ๏ธ ๐Ÿ— ๐Ÿ‘ซ โš™๏ธ ๐Ÿš™ ๐Ÿ”ข `fastapi.openapi.utils.get_openapi`.
    
    & ๐Ÿ‘ˆ ๐Ÿ”ข `get_openapi()` ๐Ÿ“จ ๐Ÿ”ข:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ////
    
    /// info
    
    FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
    
    If you have an older version, you would get errors when trying to use `Annotated`.
    
    Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/security/simple-oauth2.md

    * ๐Ÿ“ฆ `client_secret` (๐Ÿ‘ฅ ๐Ÿšซ ๐Ÿ’ช โšซ๏ธ ๐Ÿ‘† ๐Ÿ–ผ).
    
    /// info
    
    `OAuth2PasswordRequestForm` ๐Ÿšซ ๐ŸŽ ๐ŸŽ“ **FastAPI** `OAuth2PasswordBearer`.
    
    `OAuth2PasswordBearer` โš’ **FastAPI** ๐Ÿ’ญ ๐Ÿ‘ˆ โšซ๏ธ ๐Ÿ’‚โ€โ™‚ โš–. โšซ๏ธ ๐Ÿšฎ ๐Ÿ‘ˆ ๐ŸŒŒ ๐Ÿ—„.
    
    โœ‹๏ธ `OAuth2PasswordRequestForm` ๐ŸŽ“ ๐Ÿ”— ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿ’ช โœ”๏ธ โœ ๐Ÿ‘†, โš–๏ธ ๐Ÿ‘† ๐Ÿ’ช โœ”๏ธ ๐Ÿ“ฃ `Form` ๐Ÿ”ข ๐Ÿ”—.
    
    โœ‹๏ธ โšซ๏ธ โš  โš™๏ธ ๐Ÿ’ผ, โšซ๏ธ ๐Ÿšš **FastAPI** ๐Ÿ”—, โš’ โšซ๏ธ โฉ.
    
    ///
    
    ### โš™๏ธ ๐Ÿ“จ ๐Ÿ’ฝ
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. docs_src/body_multiple_params/tutorial003_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 575 bytes
    - Viewed (0)
  5. docs_src/extra_data_types/tutorial001_an_py39.py

    from datetime import datetime, time, timedelta
    from typing import Annotated, Union
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
        repeat_at: Annotated[Union[time, None], Body()] = None,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 801 bytes
    - Viewed (0)
  6. docs_src/openapi_webhooks/tutorial001.py

    from datetime import datetime
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(body: Subscription):
        """
        When a new user subscribes to your service we'll send you a POST request with this
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 20 09:00:44 UTC 2023
    - 550 bytes
    - Viewed (0)
  7. docs/en/docs/advanced/index.md

    Or it might be the case that you just prefer to take other courses because they adapt better to your learning style.
    
    Some course providers โœจ [**sponsor FastAPI**](../help-fastapi.md#sponsor-the-author){.internal-link target=_blank} โœจ, this ensures the continued and healthy **development** of FastAPI and its **ecosystem**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/request-files.md

    Wenn Sie die `async`-Methoden verwenden, fรผhrt **FastAPI** die Datei-Methoden in einem <abbr title="Mehrere unabhรคngige Kindprozesse">Threadpool</abbr> aus und erwartet sie.
    
    ///
    
    /// note | "Technische Details zu Starlette"
    
    **FastAPI**s `UploadFile` erbt direkt von **Starlette**s `UploadFile`, fรผgt aber ein paar notwendige Teile hinzu, um es kompatibel mit **Pydantic** und anderen Teilen von FastAPI zu machen.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/path-params.md

    /// check | "ๆฃ€ๆŸฅ"
    
    **FastAPI** ไฝฟ็”จ Python ็ฑปๅž‹ๅฃฐๆ˜Žๅฎž็Žฐไบ†ๆ•ฐๆฎๆ ก้ชŒใ€‚
    
    ๆณจๆ„๏ผŒไธŠ้ข็š„้”™่ฏฏๆธ…ๆ™ฐๅœฐๆŒ‡ๅ‡บไบ†ๆœช้€š่ฟ‡ๆ ก้ชŒ็š„ๅ…ทไฝ“ๅŽŸๅ› ใ€‚
    
    ่ฟ™ๅœจๅผ€ๅ‘่ฐƒ่ฏ•ไธŽ API ไบคไบ’็š„ไปฃ็ ๆ—ถ้žๅธธๆœ‰็”จใ€‚
    
    ///
    
    ## ๆŸฅ็œ‹ๆ–‡ๆกฃ
    
    ่ฎฟ้—ฎ <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>๏ผŒๆŸฅ็œ‹่‡ชๅŠจ็”Ÿๆˆ็š„ API ๆ–‡ๆกฃ๏ผš
    
    <img src="/img/tutorial/path-params/image01.png">
    
    /// check | "ๆฃ€ๆŸฅ"
    
    ่ฟ˜ๆ˜ฏไฝฟ็”จ Python ็ฑปๅž‹ๅฃฐๆ˜Ž๏ผŒ**FastAPI** ๆไพ›ไบ†๏ผˆ้›†ๆˆ Swagger UI ็š„๏ผ‰API ๆ–‡ๆกฃใ€‚
    
    ๆณจๆ„๏ผŒ่ทฏๅพ„ๅ‚ๆ•ฐ็š„็ฑปๅž‹ๆ˜ฏๆ•ดๆ•ฐใ€‚
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/openapi-webhooks.md

    ## Webhooks mit **FastAPI** und OpenAPI dokumentieren
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top