Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 2,318 for Fset (0.03 sec)

  1. docs_src/path_operation_configuration/tutorial001_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, status_code=status.HTTP_201_CREATED)
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 363 bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        Set<String> set = new HashSet<>();
                        ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
                        for (String s : elements) {
                          checkArgument(set.add(s));
                          builder.addCopies(s, 2);
                        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/extra-data-types.md

    * `frozenset`:
        * В запросах и ответах обрабатывается так же, как и `set`:
            * В запросах будет прочитан список, исключены дубликаты и преобразован в `set`.
            * В ответах `set` будет преобразован в `list`.
            * В сгенерированной схеме будет указано, что значения `set` уникальны (с помощью JSON-схемы `uniqueItems`).
    * `bytes`:
        * Встроенный в Python `bytes`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-data-types.md

    * `frozenset`:
        * In requests and responses, treated the same as a `set`:
            * In requests, a list will be read, eliminating duplicates and converting it to a `set`.
            * In responses, the `set` will be converted to a `list`.
            * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`).
    * `bytes`:
        * Standard Python `bytes`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs_src/path_operation_configuration/tutorial001_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, status_code=status.HTTP_201_CREATED)
    async def create_item(item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 401 bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      /**
       * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of
       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. cmd/bucket-object-lock.go

    // with governance bypass headers set in the request.
    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    // Objects in "Compliance" mode can be overwritten only if retention date is past.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
       * <p>Because the set may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubsetSuite(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top