Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 309 for shapes (0.04 seconds)

  1. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note | 注意
    
    留意標頭 `Authorization`,其值是以 `Bearer ` 開頭。
    
    ///
    
    ## 進階用法:`scopes` { #advanced-usage-with-scopes }
    
    OAuth2 有「scopes」的概念。
    
    你可以用它們替 JWT 權杖加上一組特定的權限。
    
    接著你可以把這個權杖直接交給某個使用者或第三方,讓他們在一組受限條件下與你的 API 互動。
    
    你可以在之後的「進階使用者指南」學到如何使用它們,以及它們如何整合進 **FastAPI**。
    
    ## 小結 { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. tests/test_dependency_yield_scope.py

    @app.get("/request-scope")
    def request_scope(session: SessionRequestDep) -> Any:
        def iter_data():
            yield json.dumps({"is_open": session.open})
    
        return StreamingResponse(iter_data())
    
    
    @app.get("/two-scopes")
    def get_stream_session(
        function_session: SessionFuncDep, request_session: SessionRequestDep
    ) -> Any:
        def iter_data():
            yield json.dumps(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          return samples;
        }
    
        @Override
        public Set<V> create(Object... elements) {
          @SuppressWarnings("unchecked")
          V[] valuesArray = (V[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (2)
  4. docs/changelogs/changelog_2x.md

     *  New: `Dispatcher.getQueuedCallCount()` and
        `Dispatcher.getRunningCallCount()`. These can be useful in diagnostics.
     *  Fix: OkHttp no longer shares timeouts between pooled connections. This was
        causing some applications to crash when connections were reused.
     *  Fix: `OkApacheClient` now allows an empty `PUT` and `POST`.
     *  Fix: Websockets no longer rebuffer socket streams.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                // Fallback to escaped plain text
                return escapeHtml(markdown);
            }
        }
    
        /**
         * Escapes HTML special characters for safe display.
         *
         * @param text the text to escape
         * @return HTML-escaped text
         */
        private String escapeHtml(final String text) {
            if (text == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. docs/fr/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    {* ../../docs_src/pydantic_v1_in_v2/tutorial004_an_py310.py hl[4,18] *}
    
    ### Migrer par étapes { #migrate-in-steps }
    
    /// tip | Astuce
    
    Essayez d'abord avec `bump-pydantic` ; si vos tests passent et que cela fonctionne, vous avez tout terminé en une seule commande. ✨
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  7. generics.go

    	return c.with(func(db *DB) *DB {
    		return db.Table(name, args...)
    	})
    }
    
    func (c chainG[T]) Scopes(scopes ...func(db *Statement)) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		for _, fc := range scopes {
    			fc(db.Statement)
    		}
    		return db
    	})
    }
    
    func (c chainG[T]) Where(query interface{}, args ...interface{}) ChainInterface[T] {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    
    /**
     * Base class for directory enumeration iterators.
     *
     * This abstract class provides common functionality for iterating
     * over directory entries in SMB file shares.
     *
     * @author mbechler
     */
    public abstract class DirFileEntryEnumIteratorBase implements CloseableIterator<FileEntry> {
    
        private static final Logger log = LoggerFactory.getLogger(DirFileEntryEnumIteratorBase.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

     */
    package org.apache.maven.api;
    
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Event sent by maven during various phases of the build process.
     * Such events can be listened to using {@link Listener}s objects
     * registered in the {@link Session}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Event {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         * present, are appended, to those specified on CLI input, if any.
         */
        Optional<String> atFile();
    
        /**
         * Returns the list of goals and phases to execute.
         *
         * @return an {@link Optional} containing the list of goals and phases to execute, or empty if not specified
         */
        @Nonnull
        Optional<List<String>> goals();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top