Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 972 for Query (0.04 sec)

  1. docs/zh/docs/tutorial/sql-databases.md

    *在这里,我们在路径操作函数*和依赖项中都使用着 SQLAlchemy 模型,它将与外部数据库进行通信。
    
    这会需要一些“等待时间”。
    
    但是由于 SQLAlchemy 不具有`await`直接使用的兼容性,因此类似于:
    
    ```Python
    user = await db.query(User).first()
    ```
    
    ...相反,我们可以使用:
    
    ```Python
    user = db.query(User).first()
    ```
    
    然后我们应该声明*路径操作函数*和不带 的依赖关系`async def`,只需使用普通的`def`,如下:
    
    ```Python hl_lines="2"
    @app.get("/users/{user_id}", response_model=schemas.User)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. fastapi/openapi/utils.py

        cookie_params = _get_flat_fields_from_params(flat_dependant.cookie_params)
        parameter_groups = [
            (ParamTypes.path, path_params),
            (ParamTypes.query, query_params),
            (ParamTypes.header, header_params),
            (ParamTypes.cookie, cookie_params),
        ]
        for param_type, param_group in parameter_groups:
            for param in param_group:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. tensorflow/BUILD

    )
    
    # TODO(jakeharmon8): Remove in favor of TSL version
    config_setting(
        name = "windows",
        # Internal builds query the target OS.
        constraint_values = if_google(
            ["//third_party/bazel_platforms/os:windows"],
            [],
        ),
        # OSS builds query the CPU type.
        values = if_oss(
            {"cpu": "x64_windows"},
            {},
        ),
        visibility = ["//visibility:public"],
    )
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  4. internal/config/identity/plugin/config.go

    		return AuthNResponse{}, nil
    	}
    
    	if roleArn != o.args.RoleARN {
    		return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String())
    	}
    
    	u := url.URL(*o.args.URL)
    	q := u.Query()
    	q.Set("token", token)
    	u.RawQuery = q.Encode()
    
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    	defer cancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/security/oauth2-scopes.md

    ```
    
    /// info | "📡 ℹ"
    
    `Security` 🤙 🏿 `Depends`, & ⚫️ ✔️ 1️⃣ ➕ 🔢 👈 👥 🔜 👀 ⏪.
    
    ✋️ ⚙️ `Security` ↩️ `Depends`, **FastAPI** 🔜 💭 👈 ⚫️ 💪 📣 💂‍♂ ↔, ⚙️ 👫 🔘, & 📄 🛠️ ⏮️ 🗄.
    
    ✋️ 🕐❔ 👆 🗄 `Query`, `Path`, `Depends`, `Security` & 🎏 ⚪️➡️ `fastapi`, 👈 🤙 🔢 👈 📨 🎁 🎓.
    
    ///
    
    ## ⚙️ `SecurityScopes`
    
    🔜 ℹ 🔗 `get_current_user`.
    
    👉 1️⃣ ⚙️ 🔗 🔛.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"application/soap+fastinfoset",
    				"application/soap+xml",
    				"application/sldworks",
    				"application/sparql-query",
    				"application/sparql-results+xml",
    				"application/spirits-event+xml",
    				"application/srgs",
    				"application/srgs+xml",
    				"application/ssml+xml",
    				"application/timestamp-query",
    				"application/timestamp-reply",
    				"application/tve-trigger",
    				"application/ulpfec",
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Aug 01 21:40:30 UTC 2020
    - 49K bytes
    - Viewed (0)
  7. cmd/handler-utils.go

    }
    
    func extractMetadata(ctx context.Context, mimesHeader ...textproto.MIMEHeader) (metadata map[string]string, err error) {
    	metadata = make(map[string]string)
    
    	for _, hdr := range mimesHeader {
    		// Extract all query values.
    		err = extractMetadataFromMime(ctx, hdr, metadata)
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	// Set content-type to default value if it is not set.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

    import org.opensearch.core.action.ActionResponse;
    import org.opensearch.index.IndexNotFoundException;
    import org.opensearch.index.engine.VersionConflictEngineException;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.search.Scroll;
    import org.opensearch.search.SearchHit;
    import org.opensearch.threadpool.ThreadPool;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        /** The key of the message: The given query has unknown condition. */
        public static final String ERRORS_invalid_query_unknown = "{errors.invalid_query_unknown}";
    
        /** The key of the message: The given query is invalid. */
        public static final String ERRORS_invalid_query_parse_error = "{errors.invalid_query_parse_error}";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // webhook, for example, a cluster identifier.
      //
      // Attempting to use a user or basic auth e.g. "user:password@" is not
      // allowed. Fragments ("#...") and query parameters ("?...") are not
      // allowed, either.
      //
      // +optional
      optional string url = 3;
    
      // `service` is a reference to the service for this webhook. Either
      // `service` or `url` must be specified.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top