Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 1,190 for Contexto (0.08 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    # 使用yield的依赖项
    
    FastAPI支持在完成后执行一些<abbr title='有时也被称为"退出"("exit"),"清理"("cleanup"),"拆卸"("teardown"),"关闭"("close"),"上下文管理器"("context managers")。 ...'>额外步骤</abbr>的依赖项.
    
    为此,你需要使用 `yield` 而不是 `return`,然后再编写这些额外的步骤(代码)。
    
    /// tip | 提示
    
    确保在每个依赖中只使用一次 `yield`。
    
    ///
    
    /// note | 技术细节
    
    任何一个可以与以下内容一起使用的函数:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    	}
    }
    
    // getDiskInfos returns the disk information for the provided disks.
    // If a disk is nil or an error is returned the result will be nil as well.
    func getDiskInfos(ctx context.Context, disks ...StorageAPI) []*DiskInfo {
    	res := make([]*DiskInfo, len(disks))
    	opts := DiskInfoOptions{}
    	for i, disk := range disks {
    		if disk == nil {
    			continue
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	case ErrServerNotInitialized:
    		return ErrSTSNotInitialized
    	case ErrInternalError:
    		return ErrSTSInternalError
    	default:
    		return ErrSTSAccessDenied
    	}
    }
    
    func checkAssumeRoleAuth(ctx context.Context, r *http.Request) (auth.Credentials, APIErrorCode) {
    	if !isRequestSignatureV4(r) {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	s3Err := isReqAuthenticated(ctx, r, globalSite.Region(), serviceSTS)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CredentialsInternalTest.java

            // Assert
            assertNotNull(ctx, "createContext returns an SSPContext");
            assertFalse(ctx.isEstablished(), "stub context initially not established");
    
            // Verify interactions with dependency are meaningful and ordered
            InOrder order = inOrder(mockContext);
            order.verify(mockContext, times(1)).getConfig();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * exception. But there's another race: If the first thread fails with an exception and a second
         * thread immediately fails with the same exception:
         *
         * Thread1: calls setException(), which returns true, context switch before it can CAS
         * seenExceptionsField to its exception
         *
         * Thread2: calls setException(), which returns false, CASes seenExceptionsField to its
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

        private final CIFSContext ctx;
        private final ServerData server;
    
        /**
         * Constructs a tree connect AndX request to establish a connection to a shared resource.
         *
         * @param ctx the CIFS context containing configuration
         * @param server the server data containing security information
         * @param path the UNC path to the shared resource
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. docs/en/data/topic_repos.yml

      html_url: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker
      stars: 2911
      owner_login: tiangolo
      owner_html_url: https://github.com/tiangolo
    - name: mcp-context-forge
      html_url: https://github.com/IBM/mcp-context-forge
      stars: 2899
      owner_login: IBM
      owner_html_url: https://github.com/IBM
    - name: best-of-web-python
      html_url: https://github.com/ml-tooling/best-of-web-python
      stars: 2648
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 01 13:17:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        /**
         * Retrieves a specific character mapping item by its ID from the specified dictionary.
         * <p>
         * This method looks up a character mapping item using its unique identifier
         * within the context of the specified dictionary.
         * </p>
         *
         * @param dictId the dictionary ID containing the character mapping item
         * @param id the unique identifier of the character mapping item
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. api/go1.10.txt

    pkg database/sql, func OpenDB(driver.Connector) *DB
    pkg database/sql/driver, type Connector interface { Connect, Driver }
    pkg database/sql/driver, type Connector interface, Connect(context.Context) (Conn, error)
    pkg database/sql/driver, type Connector interface, Driver() Driver
    pkg database/sql/driver, type DriverContext interface { OpenConnector }
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun messageDone(
        exchange: Exchange,
        requestDone: Boolean = false,
        responseDone: Boolean = false,
        socketSourceDone: Boolean = false,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top