Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 141 for Decorator (0.17 sec)

  1. docs/vi/docs/features.md

        * Bạn có thể có các object **JSON lồng nhau** và tất cả chúng đã validate và annotated.
    * **Có khả năng mở rộng**:
        * Pydantic cho phép bạn tùy chỉnh kiểu dữ liệu bằng việc định nghĩa hoặc bạn có thể mở rộng validation với các decorator trong model.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

        * If you also declare dependencies in a specific *path operation*, **they will be executed too**.
        * The router dependencies are executed first, then the [`dependencies` in the decorator](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, and then the normal parameter dependencies.
        * You can also add [`Security` dependencies with `scopes`](../advanced/security/oauth2-scopes.md){.internal-link target=_blank}.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/first-steps.md

    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    `@app.get("/")`は直下の関数が下記のリクエストの処理を担当することを**FastAPI**に伝えます:
    
    * パス `/`
    * <abbr title="an HTTP GET method"><code>get</code> オペレーション</abbr>
    
    /// info | "`@decorator` について"
    
    Pythonにおける`@something`シンタックスはデコレータと呼ばれます。
    
    「デコレータ」は関数の上に置きます。かわいらしい装飾的な帽子のようです(この用語の由来はそこにあると思います)。
    
    「デコレータ」は直下の関数を受け取り、それを使って何かを行います。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

    ```Python
    def get_settings():
        return Settings()
    ```
    
    we would create that object for each request, and we would be reading the `.env` file for each request. ⚠️
    
    But as we are using the `@lru_cache` decorator on top, the `Settings` object will be created only once, the first time it's called. ✔️
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  11"
    {!> ../../docs_src/settings/app03_an_py39/main.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

    import org.eclipse.aether.named.providers.NoopNamedLockFactory;
    import org.eclipse.aether.spi.artifact.ArtifactPredicateFactory;
    import org.eclipse.aether.spi.artifact.decorator.ArtifactDecoratorFactory;
    import org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory;
    import org.eclipse.aether.spi.checksums.ProvidedChecksumsSource;
    import org.eclipse.aether.spi.checksums.TrustedChecksumsSource;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

    import org.eclipse.aether.named.providers.NoopNamedLockFactory;
    import org.eclipse.aether.spi.artifact.ArtifactPredicateFactory;
    import org.eclipse.aether.spi.artifact.decorator.ArtifactDecoratorFactory;
    import org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory;
    import org.eclipse.aether.spi.checksums.ProvidedChecksumsSource;
    import org.eclipse.aether.spi.checksums.TrustedChecksumsSource;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    In diesen Fällen können Sie, anstatt einen Parameter der *Pfadoperation-Funktion* mit `Depends` zu deklarieren, eine `list`e von `dependencies` zum *Pfadoperation-Dekorator* hinzufügen.
    
    ## `dependencies` zum *Pfadoperation-Dekorator* hinzufügen
    
    Der *Pfadoperation-Dekorator* erhält ein optionales Argument `dependencies`.
    
    Es sollte eine `list`e von `Depends()` sein:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Para esses casos, em vez de declarar um parâmetro em uma *função de operação de rota* com `Depends`, você pode adicionar um argumento `dependencies` do tipo `list` ao decorador da operação de rota.
    
    ## Adicionando `dependencies` ao decorador da operação de rota
    
    O *decorador da operação de rota* recebe um argumento opcional `dependencies`.
    
    Ele deve ser uma lista de `Depends()`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.4.md

    * Fix PDB e2e test, off-by-one ([#35274](https://github.com/kubernetes/kubernetes/pull/35274), [@soltysh](https://github.com/soltysh))
    * etcd3: API storage - decouple decorator from filter ([#31189](https://github.com/kubernetes/kubernetes/pull/31189), [@hongchaodeng](https://github.com/hongchaodeng))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  10. RELEASE.md

            TF2 by enabling tracking of nested keras models created in TF1-style,
            when used with the `tf.compat.v1.keras.utils.track_tf1_style_variables`
            decorator.
        *   Added a `tf.keras.layers.experimental.preprocessing.HashedCrossing`
            layer which applies the hashing trick to the concatenation of crossed
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top