Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for redhated (0.18 sec)

  1. docs/en/docs/how-to/custom-request-and-route.md

    ```Python hl_lines="18-26"
    {!../../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request.
    
        A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
        The `scope` `dict` and `receive` function are both part of the ASGI specification.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/nosql-databases-couchbase.md

    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ## Add a function to get a `Bucket`
    
    In **Couchbase**, a bucket is a set of documents, that can be of different types.
    
    They are generally all related to the same application.
    
    The analogy in the relational database world would be a "database" (a specific database, not the database server).
    
    The analogy in **MongoDB** would be a "collection".
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. pyproject.toml

        # TODO: remove after upgrading python-jose to a version that explicitly supports Python 3.12
        # also, if it won't receive an update, consider replacing python-jose with some alternative
        # related issues:
        #   - https://github.com/mpdavis/python-jose/issues/332
        #   - https://github.com/mpdavis/python-jose/issues/334
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:28:39 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    ```
    
    ## `APIRouter`
    
    Let's say the file dedicated to handling just users is the submodule at `/app/routers/users.py`.
    
    You want to have the *path operations* related to your users separated from the rest of the code, to keep it organized.
    
    But it's still part of the same **FastAPI** application/web API (it's part of the same "Python Package").
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    ### Fixes
    
    * 🐛 Fix `jsonable_encoder` using `include` and `exclude` parameters for non-Pydantic objects. PR [#2606](https://github.com/tiangolo/fastapi/pull/2606) by [@xaviml](https://github.com/xaviml).
    * 🐛 Fix edge case with repeated aliases names not shown in OpenAPI. PR [#2351](https://github.com/tiangolo/fastapi/pull/2351) by [@klaa97](https://github.com/klaa97).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  6. tests/test_repeated_parameter_alias.py

    app = FastAPI()
    
    
    @app.get("/{repeated_alias}")
    def get_parameters_with_repeated_aliases(
        path: str = Path(..., alias="repeated_alias"),
        query: str = Query(..., alias="repeated_alias"),
    ):
        return {"path": path, "query": query}
    
    
    client = TestClient(app)
    
    
    def test_get_parameters():
        response = client.get("/test_path", params={"repeated_alias": "test_query"})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/sql-databases.md

    And as the code related to SQLAlchemy and the SQLAlchemy models lives in separate independent files, you would even be able to perform the migrations with Alembic without having to install FastAPI, Pydantic, or anything else.
    
    The same way, you would be able to use the same SQLAlchemy models and utilities in other parts of your code that are not related to **FastAPI**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    When you create a dependency with `yield`, **FastAPI** will internally create a context manager for it, and combine it with some other related tools.
    
    ### Using context managers in dependencies with `yield`
    
    !!! warning
        This is, more or less, an "advanced" idea.
    
        If you are just starting with **FastAPI** you might want to skip it for now.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. docs/en/docs/external-links.md

    # External Links and Articles
    
    **FastAPI** has a great community constantly growing.
    
    There are many posts, articles, tools, and projects, related to **FastAPI**.
    
    Here's an incomplete list of some of them.
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Oct 22 07:35:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/generate-clients.md

    ### Preprocess the OpenAPI Specification for the Client Generator
    
    The generated code still has some **duplicated information**.
    
    We already know that this method is related to the **items** because that word is in the `ItemsService` (taken from the tag), but we still have the tag name prefixed in the method name too. 😕
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top