Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for leaves (0.15 sec)

  1. README.md

    Used by FastAPI / Starlette:
    
    * <a href="https://www.uvicorn.org" target="_blank"><code>uvicorn</code></a> - for the server that loads and serves your application.
    * <a href="https://github.com/ijl/orjson" target="_blank"><code>orjson</code></a> - Required if you want to use `ORJSONResponse`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. fastapi/applications.py

                    different domains and you want to use the same Swagger UI in the
                    browser to interact with each of them (instead of having multiple
                    browser tabs open). Or if you want to leave fixed the possible URLs.
    
                    If the servers `list` is not provided, or is an empty `list`, the
                    default value would be a `dict` with a `url` value of `/`.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/testing-dependencies.md

        FastAPI kann sie in jedem Fall überschreiben.
    
    Anschließend können Sie Ihre Überschreibungen zurücksetzen (entfernen), indem Sie `app.dependency_overrides` auf ein leeres `dict` setzen:
    
    ```Python
    app.dependency_overrides = {}
    ```
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:32 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. docs/pt/docs/python-types.md

    O primeiro parâmetro de tipo é para as chaves do `dict`.
    
    O segundo parâmetro de tipo é para os valores do `dict`:
    
    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    Isso significa que:
    
    * A variável `prices` é um dict`:
        * As chaves deste `dict` são do tipo `str` (digamos, o nome de cada item).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/body-nested-models.md

    ```Python hl_lines="9"
    {!../../../docs_src/body_nested_models/tutorial009.py!}
    ```
    
    !!! tip "Dica"
        Leve em condideração que o JSON só suporta `str` como chaves.
    
        Mas o Pydantic tem conversão automática de dados.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

            function ->> code: return stored result
        end
    ```
    
    In the case of our dependency `get_settings()`, the function doesn't even take any arguments, so it always returns the same value.
    
    That way, it behaves almost as if it was just a global variable. But as it uses a dependency function, then we can override it easily for testing.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  7. tests/test_inherited_custom_class.py

        def __class__(self):
            return uuid.UUID
    
        @property
        def __dict__(self):
            """Spoof a missing __dict__ by raising TypeError, this is how
            asyncpg.pgroto.pgproto.UUID behaves"""
            raise TypeError("vars() argument must have __dict__ attribute")
    
    
    @needs_pydanticv2
    def test_pydanticv2():
        from pydantic import field_serializer
    
        app = FastAPI()
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. fastapi/encoders.py

                the output should use the alias names (when provided) or the Python
                attribute names. In an API, if you set an alias, it's probably because you
                want to use it in the result, so you probably want to leave this set to
                `True`.
                """
            ),
        ] = True,
        exclude_unset: Annotated[
            bool,
            Doc(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    ## Dependency Injection
    
    Using `BackgroundTasks` also works with the dependency injection system, you can declare a parameter of type `BackgroundTasks` at multiple levels: in a *path operation function*, in a dependency (dependable), in a sub-dependency, etc.
    
    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)
  10. docs/es/docs/async.md

    ### Otras funciones de utilidades
    
    Cualquier otra función de utilidad que llames directamente se puede crear con `def` o `async def` normales y FastAPI no afectará la manera en que la llames.
    
    Esto contrasta con las funciones que FastAPI llama por ti: las *path operation functions* y dependencias.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top