Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 2,379 for sect (0.04 sec)

  1. docs_src/body_nested_models/tutorial006_py310.py

    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[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: Fri Jan 07 14:11:31 UTC 2022
    - 475 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all
     * returning more-or-less the same answers.
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

      @Override
      public void clear() {
        for (Segment<K, V, E, S> segment : segments) {
          segment.clear();
        }
      }
    
      @LazyInit @CheckForNull transient Set<K> keySet;
    
      @Override
      public Set<K> keySet() {
        Set<K> ks = keySet;
        return (ks != null) ? ks : (keySet = new KeySet());
      }
    
      @LazyInit @CheckForNull transient Collection<V> values;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K 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