Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 2,237 for setS (0.1 sec)

  1. docs/en/docs/tutorial/response-model.md

    ```
    
    ////
    
    /// tip
    
    The syntax `{"name", "description"}` creates a `set` with those two values.
    
    It is equivalent to `set(["name", "description"])`.
    
    ///
    
    #### Using `list`s instead of `set`s
    
    If you forget to use a `set` and use a `list` or `tuple` instead, FastAPI will still convert it to a `set` and it will work correctly:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="29  35"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         * Used to update and read the latestTaskQueue field. Set to null once the runnable has been run
         * or queued.
         */
        @CheckForNull ExecutionSequencer sequencer;
    
        /**
         * Executor the task was set to run on. Set to null when the task has been queued, run, or
         * cancelled.
         */
        @CheckForNull Executor delegate;
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.job;
    
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.es.client.SearchEngineClient;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

     */
    fun computeExternalDependenciesNotAccessibleFromProjectDependencies(
        rootComponent: ResolvedComponentResult,
        rootVariant: ResolvedVariantResult
    ): Set<ComponentIdentifier> {
        val locallyAccessible = mutableSetOf<ComponentIdentifier>()
        val externallyAccessible = mutableSetOf<ComponentIdentifier>()
    
        val seen = mutableSetOf<ResolvedVariantResult>()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. Makefile

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    SHELL := /usr/bin/env bash
    
    # allow optional per-repo overrides
    -include Makefile.overrides.mk
    
    # Set the environment variable BUILD_WITH_CONTAINER to use a container
    # to build the repo. The only dependencies in this mode are to have make and
    # docker. If you'd rather build with a local tool chain instead, you'll need to
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 23 15:00:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. docs_src/body_nested_models/tutorial004_py39.py

    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 499 bytes
    - Viewed (0)
  7. cmd/auth-handler.go

    			return nil, errAuthentication
    		}
    	}
    
    	// If AuthZPlugin is set, return without any further checks.
    	if newGlobalAuthZPluginFn() != nil {
    		return claims, nil
    	}
    
    	// Check if a session policy is set. If so, decode it here.
    	sp, spok := claims.Lookup(policy.SessionPolicyName)
    	if spok {
    		// Looks like subpolicy is set and is a string, if set then its
    		// base64 encoded, decode it. Decoding fails reject such
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(0, listener.getCount());
        table.set(0, entryOne);
        assertFalse(segment.reclaimKey(entryTwo, hashTwo));
        assertEquals(0, listener.getCount());
        table.set(0, entryTwo);
        assertFalse(segment.reclaimKey(entryThree, hashThree));
        assertEquals(0, listener.getCount());
    
        // present
        table.set(0, entryOne);
        segment.count = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(0, listener.getCount());
        table.set(0, entryOne);
        assertFalse(segment.reclaimKey(entryTwo, hashTwo));
        assertEquals(0, listener.getCount());
        table.set(0, entryTwo);
        assertFalse(segment.reclaimKey(entryThree, hashThree));
        assertEquals(0, listener.getCount());
    
        // present
        table.set(0, entryOne);
        segment.count = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  10. internal/config/lambda/target/webhook.go

    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    
    	return target.httpClient.Do(req)
    }
    
    // Close the target. Will cancel all active requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top