Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for tutorial005_an_py310 (0.1 sec)

  1. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable" { #first-dependency-dependable }
    
    You could create a first dependency ("dependable") like:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    It declares an optional query parameter `q` as a `str`, and then it just returns it.
    
    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *}
    
    Ahora revisemos esos cambios paso a paso.
    
    ## Esquema de seguridad OAuth2 { #oauth2-security-scheme }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** se encargará de resolverlas.
    
    ## Primera dependencia "dependable" { #first-dependency-dependable }
    
    Podrías crear una primera dependencia ("dependable") así:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Declara un parámetro de query opcional `q` como un `str`, y luego simplemente lo devuelve.
    
    Esto es bastante simple (no muy útil), pero nos ayudará a centrarnos en cómo funcionan las sub-dependencias.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** kümmert sich darum, sie aufzulösen.
    
    ## Erste Abhängigkeit, „Dependable“ { #first-dependency-dependable }
    
    Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Diese deklariert einen optionalen Query-Parameter `q` vom Typ `str` und gibt ihn dann einfach zurück.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** сам займётся их управлением.
    
    ## Первая зависимость { #first-dependency-dependable }
    
    Можно создать первую зависимость следующим образом:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Она объявляет необязательный параметр запроса `q` как строку, а затем возвращает его.
    
    Это довольно просто (хотя и не очень полезно), но поможет нам сосредоточиться на том, как работают подзависимости.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    ## Primeira dependência "dependable" { #first-dependency-dependable }
    
    Você pode criar uma primeira dependência ("dependable") dessa forma:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Esse código declara um parâmetro de consulta opcional, `q`, com o tipo `str`, e então retorna esse parâmetro.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial005.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial005_py39"),
            pytest.param("tutorial005_py310", marks=needs_py310),
            pytest.param("tutorial005_an_py39"),
            pytest.param("tutorial005_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_schema_extra_example/test_tutorial005.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial005_py39"),
            pytest.param("tutorial005_py310", marks=needs_py310),
            pytest.param("tutorial005_an_py39"),
            pytest.param("tutorial005_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.schema_extra_example.{request.param}")
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/body-multiple-params.md

    ```Python
    item: Item = Body(embed=True)
    ```
    
    como en:
    
    {* ../../docs_src/body_multiple_params/tutorial005_an_py310.py hl[17] *}
    
    En este caso, **FastAPI** esperará un cuerpo como:
    
    ```JSON hl_lines="2"
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/schema-extra-example.md

    * `externalValue`: alternativa a `value`, una URL que apunta al ejemplo. Aunque esto puede no ser soportado por tantas herramientas como `value`.
    
    Puedes usarlo así:
    
    {* ../../docs_src/schema_extra_example/tutorial005_an_py310.py hl[23:49] *}
    
    ### Ejemplos de OpenAPI en la Interfaz de Documentación { #openapi-examples-in-the-docs-ui }
    
    Con `openapi_examples` añadido a `Body()`, los `/docs` se verían así:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top