Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for Reed (0.25 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    # Path Operation Advanced Configuration
    
    ## OpenAPI operationId
    
    !!! warning
        If you are not an "expert" in OpenAPI, you probably don't need this.
    
    You can set the OpenAPI `operationId` to be used in your *path operation* with the parameter `operation_id`.
    
    You would have to make sure that it is unique for each operation.
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/erasure-decode.go

    	shardSize := int(e.ShardSize())
    	if cap(b) < len(readers)*shardSize {
    		// We should always have enough capacity, but older objects may be bigger.
    		globalBytePoolCap.Load().Put(b)
    		b = nil
    	} else {
    		// Seed the buffers.
    		for i := range bufs {
    			bufs[i] = b[i*shardSize : (i+1)*shardSize]
    		}
    	}
    
    	return &parallelReader{
    		readers:       readers,
    		orgReaders:    readers,
    		dataBlocks:    e.dataBlocks,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. cmd/data-usage.go

    	}
    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    		for bucket, size := range dataUsageInfo.BucketSizes {
    			dataUsageInfo.BucketsUsage[bucket] = BucketUsageInfo{Size: size}
    		}
    	}
    
    	// For backward compatibility reasons, we need to add this code.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

       * the implementation will need to be revisited to support a more flexible rule.
       */
      private fun assertWildcardRule(rule: String) {
        check(rule.startsWith(WILDCARD_CHAR)) {
          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/events.md

    This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model.
    
    ## Use Case
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                throw new IllegalStateException();
            }
            values.remove(0);
        }
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
            getScopeState().seed(clazz, value);
        }
    
        public <T> void seed(Class<T> clazz, final T value) {
            seed(clazz, (Provider<T>) () -> value);
        }
    
        public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    ```Python hl_lines="2  12  15-18"
    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip
        Notice that the testing functions are normal `def`, not `async def`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/configure-swagger-ui.md

    ]
    ```
    
    These are **JavaScript** objects, not strings, so you can't pass them from Python code directly.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. .cm/platform_labels.cm

    # The `automations` section lists automations to run on PRs in this repository.
    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top