Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 558 for tutorial012_py39 (0.12 sec)

  1. docs_src/dependencies/tutorial012_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 696 bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial012_py39.py

    Sebastián Ramírez <******@****.***> 1652485102 -0500
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 192 bytes
    - Viewed (0)
  3. docs_src/python_types/tutorial012_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 122 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_python_types/test_tutorial012.py

    from docs_src.python_types.tutorial012_py39 import User
    
    
    def test_user():
        user = User(name="John Doe", age=30)
        assert user.name == "John Doe"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 177 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial012_py39"),
            pytest.param("tutorial012_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
            f"docs_src.query_params_str_validations.{request.param}"
        )
    
        client = TestClient(mod.app)
        return client
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial012.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial012_py39"),
            pytest.param("tutorial012_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/handling-errors.md

    You probably won't need to use it directly in your code.
    
    But in case you needed it for an advanced scenario, you can add custom headers:
    
    {* ../../docs_src/handling_errors/tutorial002_py39.py hl[14] *}
    
    ## Install custom exception handlers { #install-custom-exception-handlers }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/handling-errors.md

    Probablemente no necesitarás usarlos directamente en tu código.
    
    Pero en caso de que los necesites para un escenario avanzado, puedes agregar headers personalizados:
    
    {* ../../docs_src/handling_errors/tutorial002_py39.py hl[14] *}
    
    ## Instalar manejadores de excepciones personalizados { #install-custom-exception-handlers }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/metadata.md

    Но вы можете изменить это с помощью параметра `openapi_url`.
    
    К примеру, чтобы задать её отображение по адресу `/api/v1/openapi.json`:
    
    {* ../../docs_src/metadata/tutorial002_py39.py hl[3] *}
    
    Если вы хотите отключить схему OpenAPI полностью, вы можете задать `openapi_url=None`, это также отключит пользовательские интерфейсы документации, которые её используют.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    #### Get the *enumeration value* { #get-the-enumeration-value }
    
    You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top