Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 335 for tutorial004_py310 (0.12 seconds)

  1. docs/pt/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Aqui, embora nossa *função de operação de rota* esteja retornando o mesmo usuário de entrada que contém a senha:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ...declaramos o `response_model` como nosso modelo `UserOut`, que não inclui a senha:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_path_operation_configurations/test_tutorial003_tutorial004.py

        """).strip(),
    }
    
    
    @pytest.fixture(
        name="mod_name",
        params=[
            pytest.param("tutorial003_py39"),
            pytest.param("tutorial003_py310", marks=needs_py310),
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
        ],
    )
    def get_mod_name(request: pytest.FixtureRequest) -> str:
        return request.param
    
    
    @pytest.fixture(name="client")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/query-params.md

    或其它任意大小写形式(大写、首字母大写等),函数接收的 `short` 参数都是布尔值 `True`。值为 `False` 时也一样。
    
    
    ## 多个路径和查询参数
    
    **FastAPI** 可以识别同时声明的多个路径参数和查询参数。
    
    而且声明查询参数的顺序并不重要。
    
    FastAPI 通过参数名进行检测:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## 必选查询参数
    
    为不是路径参数的参数声明默认值(至此,仅有查询参数),该参数就**不是必选**的了。
    
    如果只想把参数设为**可选**,但又不想指定参数的值,则要把默认值设为 `None`。
    
    如果要把查询参数设置为**必选**,就不要声明默认值:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  4. docs/uk/docs/tutorial/query-params.md

    
    Не потрібно дотримуватись певного порядку їх оголошення.
    
    Вони визначаються за назвою:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## Обов’язкові Query параметри
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:29:01 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. docs/uk/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Тут, навіть якщо *функція операції шляху* повертає об'єкт користувача, який містить пароль:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ...ми оголосили `response_model` як нашу модель `UserOut`, яка не містить пароля:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Jun 24 19:14:01 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Здесь, хотя *функция-обработчик пути* возвращает тот же входной объект пользователя, содержащий пароль:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ...мы объявили `response_model` как модель `UserOut`, в которой нет пароля:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/query-params.md

    E você não precisa declarar eles em nenhuma ordem específica.
    
    Eles serão detectados pelo nome:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## Parâmetros de consulta obrigatórios { #required-query-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/query-params.md

    Y no tienes que declararlos en un orden específico.
    
    Serán detectados por nombre:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## Parámetros de query requeridos { #required-query-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}
    
    Obwohl unsere *Pfadoperation-Funktion* hier denselben `user` von der Eingabe zurückgibt, der das Passwort enthält:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ... haben wir deklariert, dass `response_model` das Modell `UserOut` ist, welches das Passwort nicht enthält:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/query-params.md

    И вы не обязаны объявлять их в каком-либо определенном порядке.
    
    Они будут обнаружены по именам:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## Обязательные query-параметры { #required-query-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top