Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 823 for get_data (0.1 sec)

  1. tests/test_dependency_security_overrides.py

        return "alice", required_scopes.scopes
    
    
    def get_data():
        return [1, 2, 3]
    
    
    def get_data_override():
        return [3, 4, 5]
    
    
    @app.get("/user")
    def read_user(
        user_data: Tuple[str, List[str]] = Security(get_user, scopes=["foo", "bar"]),
        data: List[int] = Depends(get_data),
    ):
        return {"user": user_data[0], "scopes": user_data[1], "data": data}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 14 15:54:46 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. internal/crypto/metadata.go

    func RemoveSSEHeaders(metadata map[string]string) {
    	delete(metadata, xhttp.AmzServerSideEncryption)
    	delete(metadata, xhttp.AmzServerSideEncryptionKmsID)
    	delete(metadata, xhttp.AmzServerSideEncryptionKmsContext)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerAlgorithm)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKey)
    	delete(metadata, xhttp.AmzServerSideEncryptionCustomerKeyMD5)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. api/maven-api-metadata/src/main/mdo/metadata.mdo

      xml.namespace="http://maven.apache.org/METADATA/${version}"
      xml.schemaLocation="https://maven.apache.org/xsd/repository-metadata-${version}.xsd">
      <id>repository-metadata</id>
      <name>Metadata</name>
      <description><![CDATA[
        <p>Per-directory repository metadata <code>repository-metadata.xml</code>.</p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/metadata.md

    Você pode defini-los da seguinte maneira:
    
    ```Python hl_lines="3-16  19-32"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Você pode escrever Markdown no campo `description` e ele será renderizado na saída.
    
    ///
    
    Com essa configuração, a documentação automática da API se pareceria com:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## Identificador de Licença
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:36:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/metadata.md

    다음과 같이 설정할 수 있습니다:
    
    ```Python hl_lines="3-16  19-32"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip
    
    `description` 필드에 마크다운을 사용할 수 있으며, 출력에서 렌더링됩니다.
    
    ///
    
    이 구성을 사용하면 문서 자동화(로 생성된) API 문서는 다음과 같이 보입니다:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 라이선스 식별자
    
    OpenAPI 3.1.0 및 FastAPI 0.99.0부터 `license_info`에 `identifier`를 URL 대신 설정할 수 있습니다.
    
    예:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/metadata.md

    Now, if you check the docs, they will show all the additional metadata:
    
    <img src="/img/tutorial/metadata/image02.png">
    
    ### Order of tags
    
    The order of each tag metadata dictionary also defines the order shown in the docs UI.
    
    For example, even though `users` would go after `items` in alphabetical order, it is shown before them, because we added their metadata as the first dictionary in the list.
    
    ## OpenAPI URL
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/metadata.md

    Вы можете задать их следующим образом:
    
    ```Python hl_lines="3-16  19-31"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip | "Подсказка"
    
    Вы можете использовать Markdown в поле `description`, и оно будет отображено в выводе.
    
    ///
    
    С этой конфигурацией автоматическая документация API будут выглядеть так:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## Метаданные для тегов
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/metadata.md

    ```Python hl_lines="3-16  19-32"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip | "Tipp"
    
    Sie können Markdown in das Feld `description` schreiben und es wird in der Ausgabe gerendert.
    
    ///
    
    Mit dieser Konfiguration würde die automatische API-Dokumentation wie folgt aussehen:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## Lizenz-ID
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/metadata.md

         *たとえば、以前のバージョンのアプリケーションがあり、OpenAPIも使用している場合に便利です。
    
    これらを設定するには、パラメータ `title`、`description`、`version` を使用します:
    
    ```Python hl_lines="4-6"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    この設定では、自動APIドキュメントは以下の様になります:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## タグのためのメタデータ
    
    さらに、パラメータ `openapi_tags` を使うと、path operations をグループ分けするための複数のタグに関するメタデータを追加できます。
    
    それぞれのタグ毎にひとつの辞書を含むリストをとります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/metadata.md

    ```Python hl_lines="4-6"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip
    
    您可以在 `description` 字段中编写 Markdown,它将在输出中呈现。
    
    ///
    
    通过这样设置,自动 API 文档看起来会像:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 标签元数据
    
    ### 创建标签元数据
    
    让我们在带有标签的示例中为 `users` 和 `items` 试一下。
    
    创建标签元数据并把它传递给 `openapi_tags` 参数:
    
    ```Python hl_lines="3-16  18"
    {!../../docs_src/metadata/tutorial004.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top