Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1151 - 1160 of 1,658 for py$ (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/es/docs/how-to/configure-swagger-ui.md

    Incluye estas configuraciones predeterminadas:
    
    {* ../../fastapi/openapi/docs.py ln[9:24] hl[18:24] *}
    
    Puedes sobrescribir cualquiera de ellos estableciendo un valor diferente en el argumento `swagger_ui_parameters`.
    
    Por ejemplo, para desactivar `deepLinking` podrías pasar estas configuraciones a `swagger_ui_parameters`:
    
    {* ../../docs_src/configure_swagger_ui/tutorial003_py39.py hl[3] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Pueden declarar requisitos de request (como headers) u otras sub-dependencias:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[8,13] *}
    
    ### Lanzar excepciones { #raise-exceptions }
    
    Estas dependencias pueden `raise` excepciones, igual que las dependencias normales:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[10,15] *}
    
    ### Valores de retorno { #return-values }
    
    Y pueden devolver valores o no, los valores no serán usados.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Set types { #set-types }
    
    But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings.
    
    And Python has a special data type for sets of unique items, the `set`.
    
    Then we can declare `tags` as a set of strings:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    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)
  4. docs/ru/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Типы множеств { #set-types }
    
    Но затем мы подумали и поняли, что теги не должны повторяться, вероятно, это должны быть уникальные строки.
    
    И в Python есть специальный тип данных для множеств уникальных элементов — `set`.
    
    Тогда мы можем объявить поле `tags` как множество строк:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002.py hl[25] *}
    
    ## 获取用户
    
    `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型:
    
    {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *}
    
    ## 注入当前用户
    
    在*路径操作* 的 `Depends` 中使用 `get_current_user`:
    
    {* ../../docs_src/security/tutorial002.py hl[31] *}
    
    注意,此处把 `current_user` 的类型声明为 Pydantic 的 `User` 模型。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/query-params.md

    # Query-параметры { #query-parameters }
    
    Когда вы объявляете параметры функции, которые не являются параметрами пути, они автоматически интерпретируются как "query"-параметры.
    
    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    Query-параметры представляют из себя набор пар ключ-значение, которые идут после знака `?` в URL-адресе, разделенные символами `&`.
    
    Например, в этом URL-адресе:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    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)
  7. docs/pt/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Se uma exceção ocorrer, a instância `Request` ainda estará em escopo, então podemos ler e fazer uso do corpo da requisição ao lidar com o erro:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    ## Classe `APIRoute` personalizada em um router { #custom-apiroute-class-in-a-router }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/body-nested-models.md

    어트리뷰트를 서브타입으로 정의할 수 있습니다. 예를 들어 파이썬 `list`는:
    
    {* ../../docs_src/body_nested_models/tutorial001.py hl[14] *}
    
    이는 `tags`를 항목 리스트로 만듭니다. 각 항목의 타입을 선언하지 않더라도요.
    
    ## 타입 매개변수가 있는 리스트 필드
    
    하지만 파이썬은 내부의 타입이나 "타입 매개변수"를 선언할 수 있는 특정 방법이 있습니다:
    
    ### typing의 `List` 임포트
    
    먼저, 파이썬 표준 `typing` 모듈에서 `List`를 임포트합니다:
    
    {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
    
    ### 타입 매개변수로 `List` 선언
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  9. docs/sts/.gitignore

    # Byte-compiled / optimized / DLL files
    __pycache__/
    *.py[cod]
    *$py.class
    
    # C extensions
    *.so
    
    # Distribution / packaging
    .Python
    build/
    develop-eggs/
    dist/
    downloads/
    eggs/
    .eggs/
    lib/
    lib64/
    parts/
    sdist/
    var/
    wheels/
    *.egg-info/
    .installed.cfg
    *.egg
    MANIFEST
    
    # PyInstaller
    #  Usually these files are written by a python script from a template
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 15 11:55:55 GMT 2020
    - 1.2K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## `Header`-Parameter deklarieren { #declare-header-parameters }
    
    Deklarieren Sie dann die Header-Parameter mit derselben Struktur wie bei `Path`, `Query` und `Cookie`.
    
    Sie können den Defaultwert sowie alle zusätzlichen Validierungs- oder Annotationsparameter definieren:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Technische Details
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top