Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 114 for Only (0.16 sec)

  1. docs/pt/docs/contributing.md

    <div class="termy">
    
    ```console
    // Use o comando "serve" após rodar "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Make sure you run the build-all command first.
    Serving at: http://127.0.0.1:8008
    ```
    
    </div>
    
    ## Testes
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/encoder.md

    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder`
    
    Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
    
    For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/openapi-callbacks.md

    ```
    
    !!! tip
        The `callback_url` query parameter uses a Pydantic <a href="https://docs.pydantic.dev/latest/concepts/types/#urls" class="external-link" target="_blank">URL</a> type.
    
    The only new thing is the `callbacks=invoices_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next.
    
    ## Documenting the callback
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. docs/en/docs/help-fastapi.md

    If you select "Watching" instead of "Releases only" you will receive notifications when someone creates a new issue or question. You can also specify that you only want to be notified about new issues, or discussions, or PRs, etc.
    
    Then you can try and help them solve those questions.
    
    ## Ask Questions
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial008d.py

                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 694 bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial008d_an.py

                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 744 bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial008d_an_py39.py

                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 734 bytes
    - Viewed (0)
  8. docs_src/bigger_applications/app/routers/items.py

        tags=["custom"],
        responses={403: {"description": "Operation forbidden"}},
    )
    async def update_item(item_id: str):
        if item_id != "plumbus":
            raise HTTPException(
                status_code=403, detail="You can only update the item: plumbus"
            )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Nov 29 17:32:18 GMT 2020
    - 1011 bytes
    - Viewed (0)
  9. docs/en/docs/deployment/cloud.md

    And it shows their true commitment to FastAPI and its **community** (you), as they not only want to provide you a **good service** but also want to make sure you have a **good and healthy framework**, FastAPI. 🙇
    
    You might want to try their services and follow their guides:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Jan 31 22:13:52 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="22"
        {!> ../../../docs_src/dependencies/tutorial005.py!}
        ```
    
    !!! info
        Notice that we are only declaring one dependency in the *path operation function*, the `query_or_cookie_extractor`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top