Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 915 for queryFn (0.2 sec)

  1. docs/zh/docs/advanced/security/oauth2-scopes.md

    /// info | 技术细节
    
    `Security` 实际上是 `Depends` 的子类,而且只比 `Depends` 多一个参数。
    
    但使用 `Security` 代替 `Depends`,**FastAPI** 可以声明安全作用域,并在内部使用这些作用域,同时,使用 OpenAPI 存档 API。
    
    但实际上,从 `fastapi` 导入的 `Query`、`Path`、`Depends`、`Security` 等对象,只是返回特殊类的函数。
    
    ///
    
    ## 使用 `SecurityScopes`
    
    修改依赖项 `get_current_user`。
    
    这是上面的依赖项使用的依赖项。
    
    这里使用的也是之前创建的 OAuth2 方案,并把它声明为依赖项:`oauth2_scheme`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 29 20:41:04 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. internal/grid/types.go

    	},
    }
    
    // Recycle the underlying map.
    func (m *MSS) Recycle() {
    	if m != nil && *m != nil {
    		mssPool.Put(*m)
    		*m = nil
    	}
    }
    
    // ToQuery constructs a URL query string from the MSS, including "?" if there are any keys.
    func (m MSS) ToQuery() string {
    	if len(m) == 0 {
    		return ""
    	}
    	var buf strings.Builder
    	buf.WriteByte('?')
    	keys := make([]string, 0, len(m))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/security/oauth2-scopes.md

    Durch die Verwendung von `Security` anstelle von `Depends` weiß **FastAPI** jedoch, dass es Sicherheits-Scopes deklarieren, intern verwenden und die API mit OpenAPI dokumentieren kann.
    
    Wenn Sie jedoch `Query`, `Path`, `Depends`, `Security` und andere von `fastapi` importieren, handelt es sich tatsächlich um Funktionen, die spezielle Klassen zurückgeben.
    
    ///
    
    ## `SecurityScopes` verwenden { #use-securityscopes }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  5. okhttp/api/jvm/okhttp.api

    	public final fun password ()Ljava/lang/String;
    	public final fun pathSegments ()Ljava/util/List;
    	public final fun pathSize ()I
    	public final fun port ()I
    	public final fun query ()Ljava/lang/String;
    	public final fun queryParameter (Ljava/lang/String;)Ljava/lang/String;
    	public final fun queryParameterName (I)Ljava/lang/String;
    	public final fun queryParameterNames ()Ljava/util/Set;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    But by using `Security` instead of `Depends`, **FastAPI** will know that it can declare security scopes, use them internally, and document the API with OpenAPI.
    
    But when you import `Query`, `Path`, `Depends`, `Security` and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    ## Use `SecurityScopes` { #use-securityscopes }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/security/oauth2-scopes.md

    Pero al usar `Security` en lugar de `Depends`, **FastAPI** sabrá que puede declarar scopes de seguridad, usarlos internamente y documentar la API con OpenAPI.
    
    Pero cuando importas `Query`, `Path`, `Depends`, `Security` y otros de `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    ///
    
    ## Usar `SecurityScopes` { #use-securityscopes }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.transport.client.Client;
    
    /**
     * The AnalyzerSettings class is responsible for managing and configuring analyzers for different fields and languages.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * Open does not cause an opportunistic lock break for the file
         */
        public static final int FILE_NOP_RECALL = 0x400000;
        /**
         * The file is being opened solely to query its free space
         */
        public static final int FILE_OPEN_FOR_FREE_SPACE_QUERY = 0x800000;
    
        private byte securityFlags;
        private byte requestedOplockLevel = SMB2_OPLOCK_LEVEL_NONE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

            openapi_examples=openapi_examples,
            deprecated=deprecated,
            include_in_schema=include_in_schema,
            json_schema_extra=json_schema_extra,
            **extra,
        )
    
    
    def Query(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
                Default value if the parameter field is not set.
                """
            ),
        ] = Undefined,
        *,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
Back to top