Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 228 for tutorial006_an_py39 (0.09 seconds)

  1. tests/test_tutorial/test_dependencies/test_tutorial006.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial006_py39"),
            pytest.param("tutorial006_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py hl[10] *}
    
    ## Validações numéricas: maior que e menor que ou igual { #number-validations-greater-than-and-less-than-or-equal }
    
    O mesmo se aplica a:
    
    * `gt`: maior que (`g`reater `t`han)
    * `le`: menor que ou igual (`l`ess than or `e`qual)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/security/http-basic-auth.md

    * Utilize o `security` com uma dependência em sua *operação de rota*.
    * Isso retorna um objeto do tipo `HTTPBasicCredentials`:
        * Isto contém o `username` e o `password` enviado.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    
    Quando você tentar abrir a URL pela primeira vez (ou clicar no botão "Executar" na documentação) o navegador vai pedir pelo seu usuário e senha:
    
    <img src="/img/tutorial/security/image12.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/security/http-basic-auth.md

    * Используйте эту `security` как зависимость в вашей *операции пути*.
    * Она возвращает объект типа `HTTPBasicCredentials`:
        * Он содержит отправленные `username` и `password`.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    
    Когда вы впервые откроете URL (или нажмёте кнопку «Execute» в документации), браузер попросит ввести имя пользователя и пароль:
    
    <img src="/img/tutorial/security/image12.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/security/http-basic-auth.md

    * Use that `security` with a dependency in your *path operation*.
    * It returns an object of type `HTTPBasicCredentials`:
        * It contains the `username` and `password` sent.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    
    When you try to open the URL for the first time (or click the "Execute" button in the docs) the browser will ask you for your username and password:
    
    <img src="/img/tutorial/security/image12.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/security/http-basic-auth.md

    * Usa ese `security` con una dependencia en tu *path operation*.
    * Devuelve un objeto de tipo `HTTPBasicCredentials`:
      * Contiene el `username` y `password` enviados.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    
    Cuando intentas abrir la URL por primera vez (o haces clic en el botón "Execute" en la documentación) el navegador te pedirá tu nombre de usuario y contraseña:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/security/http-basic-auth.md

    * Diese gibt ein Objekt vom Typ `HTTPBasicCredentials` zurück:
        * Es enthält den gesendeten `username` und das gesendete `password`.
    
    {* ../../docs_src/security/tutorial006_an_py39.py hl[4,8,12] *}
    
    Wenn Sie versuchen, die URL zum ersten Mal zu öffnen (oder in der Dokumentation auf den Button „Execute“ zu klicken), wird der Browser Sie nach Ihrem Benutzernamen und Passwort fragen:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    ```
    
    So, when you need to declare a value as required while using `Query`, you can simply not declare a default value:
    
    {* ../../docs_src/query_params_str_validations/tutorial006_an_py39.py hl[9] *}
    
    ### Required, can be `None` { #required-can-be-none }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/query-params-str-validations.md

    ```
    
    Поэтому, когда вам нужно объявить значение как обязательное при использовании `Query`, просто не указывайте значение по умолчанию:
    
    {* ../../docs_src/query_params_str_validations/tutorial006_an_py39.py hl[9] *}
    
    ### Обязательный, но может быть `None` { #required-can-be-none }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/query-params-str-validations.md

    ```
    
    ////
    
    Тому, якщо Вам потрібно зробити значення обов’язковим, використовуючи `Query`, просто не вказуйте значення за замовчуванням:
    
    {* ../../docs_src/query_params_str_validations/tutorial006_an_py39.py hl[9] *}
    
    ### Обов’язкове значення, яке може бути `None`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 30 14:17:24 GMT 2025
    - 26.1K bytes
    - Click Count (0)
Back to Top