Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 585 for Depends (0.12 sec)

  1. docs/zh/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image03.png">
    
    您可以发送(和接收)多条消息:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    所有这些消息都将使用同一个 WebSocket 连
    
    接。
    
    ## 使用 `Depends` 和其他依赖项
    
    在 WebSocket 端点中,您可以从 `fastapi` 导入并使用以下内容:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    它们的工作方式与其他 FastAPI 端点/ *路径操作* 相同:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="68-69  82"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEvent.java

     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuildingEvent {
    
        /**
         * Gets the model being built. The precise state of this model depends on the event being fired.
         *
         * @return The model being built, never {@code null}.
         */
        Model getModel();
    
        /**
         * Gets the model building request being processed.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. cmd/format-meta.go

    	formatMetaVersionV1 = "1"
    )
    
    // format.json currently has the format:
    // {
    //   "version": "1",
    //   "format": "XXXXX",
    //   "XXXXX": {
    //
    //   }
    // }
    // Here "XXXXX" depends on the backend, currently we have "fs" and "xl" implementations.
    // formatMetaV1 should be inherited by backend format structs. Please look at format-fs.go
    // and format-xl.go for details.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/security/get-current-user.md

    ```
    
    ## 現在のユーザーの注入
    
    ですので、 `get_current_user` に対して同様に *path operation* の中で `Depends` を利用できます。
    
    ```Python hl_lines="31"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    Pydanticモデルの `User` として、 `current_user` の型を宣言することに注意してください。
    
    その関数の中ですべての入力補完や型チェックを行う際に役に立ちます。
    
    /// tip | "豆知識"
    
    リクエストボディはPydanticモデルでも宣言できることを覚えているかもしれません。
    
    ここでは `Depends` を使っているおかげで、 **FastAPI** が混乱することはありません。
    
    ///
    
    /// check | "確認"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckContributorsInReleaseNotes.kt

     */
    
    package gradlebuild.buildutils.tasks
    
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    import java.util.TreeSet
    
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class CheckContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() {
        @TaskAction
        fun check() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/websockets.md

    You can send (and receive) many messages:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    And all of them will use the same WebSocket connection.
    
    ## Using `Depends` and others
    
    In WebSocket endpoints you can import from `fastapi` and use:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    They work the same way as for other FastAPI endpoints/*path operations*:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

     * probably roll its own.
     * <p>
     * This implementation is backed by Maven Resolver API, supported protocols and transport selection depends on it. If
     * resolver preference regarding transport is altered, it will affect this service as well.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface TransportProvider extends Service {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image04.png">
    
    Und alle verwenden dieselbe WebSocket-Verbindung.
    
    ## Verwendung von `Depends` und anderen
    
    In WebSocket-Endpunkten können Sie Folgendes aus `fastapi` importieren und verwenden:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/minio-limits.md

    > **This list is non exhaustive, it depends on the operating system and filesystem under use - please consult your operating system vendor for a more comprehensive list of special characters**.
    
    MinIO recommends using Linux operating system for production workloads.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. migrator/migrator.go

    				if rel.Field.IgnoreMigration {
    					continue
    				}
    				if c := rel.ParseConstraint(); c != nil && c.Schema == dep.Statement.Schema && c.Schema != c.ReferenceSchema {
    					dep.Depends = append(dep.Depends, c.ReferenceSchema)
    				}
    
    				if rel.Type == schema.HasOne || rel.Type == schema.HasMany {
    					beDependedOn[rel.FieldSchema] = true
    				}
    
    				if rel.JoinTable != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top