Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for 19 (0.25 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Use it
    
    Now you can declare your dependency using this class.
    
    === "Python 3.10+"
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/dependencies/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/dependencies/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="20"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-multiple-params.md

    E você também pode declarar parâmetros de corpo como opcionais, definindo o valor padrão com `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="17-19"
        {!> ../../../docs_src/body_multiple_params/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001.py!}
        ```
    
    !!! note "Nota"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body-multiple-params.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="19-21"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip "Заметка"
            Рекомендуется использовать `Annotated` версию, если это возможно.
    
        ```Python hl_lines="17-19"
        {!> ../../../docs_src/body_multiple_params/tutorial001_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. helm/minio/templates/statefulset.yaml

          {{- with .Values.tolerations }}
          tolerations: {{- toYaml . | nindent 8 }}
          {{- end }}
          {{- if and (gt $replicas 1) (ge .Capabilities.KubeVersion.Major "1") (ge .Capabilities.KubeVersion.Minor "19") }}
          {{- with .Values.topologySpreadConstraints }}
          topologySpreadConstraints: {{- toYaml . | nindent 8 }}
          {{- end }}
          {{- end }}
          volumes:
            - name: minio-user
              secret:
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 07:50:24 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial004_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="19-34"
        {!> ../../../docs_src/schema_extra_example/tutorial004_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/security/get-current-user.md

        {!> ../../../docs_src/security/tutorial002_py310.py!}
        ```
    
    ## 유저 가져오기
    
    `get_current_user`는 토큰을 `str`로 취하고 Pydantic `User` 모델을 반환하는 우리가 만든 (가짜) 유틸리티 함수를 사용합니다.
    
    === "파이썬 3.7 이상"
    
        ```Python hl_lines="19-22  26-27"
        {!> ../../../docs_src/security/tutorial002.py!}
        ```
    
    === "파이썬 3.10 이상"
    
        ```Python hl_lines="17-20  24-25"
        {!> ../../../docs_src/security/tutorial002_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    *Декоратор операции пути* получает необязательный аргумент `dependencies`.
    
    Это должен быть `list` состоящий из `Depends()`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/dependencies/tutorial006_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="18"
        {!> ../../../docs_src/dependencies/tutorial006_an.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 06 15:43:55 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

    It won't show up in the documentation, but other tools (such as Sphinx) will be able to use the rest.
    
    ```Python hl_lines="19-29"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial004.py!}
    ```
    
    ## Additional Responses
    
    You probably have seen how to declare the `response_model` and `status_code` for a *path operation*.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/events.md

    ### Função _lifespan_
    
    A primeira coisa a notar, é que estamos definindo uma função assíncrona com `yield`. Isso é muito semelhante à Dependências com `yield`.
    
    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    A primeira parte da função, antes do `yield`, será  executada **antes** da aplicação inicializar.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    ### Lifespan function
    
    The first thing to notice, is that we are defining an async function with `yield`. This is very similar to Dependencies with `yield`.
    
    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    The first part of the function, before the `yield`, will be executed **before** the application starts.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top