Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 514 for forced (0.05 sec)

  1. docs_src/query_param_models/tutorial002_an_py39.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 483 bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

     * under the License.
     */
    package org.apache.maven.toolchain.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the toolchains due to invalid syntax (e.g. non well-formed XML or unknown elements).
     *
     * @since 3.3.0
     */
    @Deprecated(since = "4.0.0")
    public class ToolchainsParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/header-param-models.md

    </div>
    
    ## Zusätzliche Header verbieten { #forbid-extra-headers }
    
    In einigen speziellen Anwendungsfällen (wahrscheinlich nicht sehr häufig) möchten Sie möglicherweise die **Header einschränken**, die Sie erhalten möchten.
    
    Sie können Pydantics Modellkonfiguration verwenden, um `extra` Felder zu verbieten (`forbid`):
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Hashing.java

     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Austin Appleby
     */
    @GwtCompatible
    final class Hashing {
      private Hashing() {}
    
      /*
       * These should be ints, but we need to use longs to force GWT to do the multiplications with
       * enough precision.
       */
      private static final long C1 = 0xcc9e2d51;
      private static final long C2 = 0x1b873593;
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. internal/crypto/sse-kms.go

    		metadata[MetaDataEncryptionKey] = base64.StdEncoding.EncodeToString(kmsKey)
    	}
    	return metadata
    }
    
    // ParseMetadata extracts all SSE-KMS related values from the object metadata
    // and checks whether they are well-formed. It returns the sealed object key
    // on success. If the metadata contains both, a KMS master key ID and a sealed
    // KMS data key it returns both. If the metadata does not contain neither a
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

        /** The security context lifetime */
        private int contextLifetime = GSSContext.DEFAULT_LIFETIME;
        /** Flag indicating if fallback authentication is allowed */
        private boolean canFallback = false;
        /** Flag to force fallback authentication */
        private boolean forceFallback;
    
        static {
            PREFERRED_MECHS.add(new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded(0, (E) null);
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        private Configuration cfg;
    
        @BeforeEach
        public void setup() throws Exception {
            this.cfg = new BaseConfiguration(true);
        }
    
        /**
         * Sub-class of {@link BaseConfiguration} that forces {@code useUnicode()}
         * to return {@code false}. This mimics an ASCII only client
         */
        private static class OffUnicodeConfig extends BaseConfiguration {
            public OffUnicodeConfig() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/cookie-param-models.md

    ///
    
    ## Запрет дополнительных cookies { #forbid-extra-cookies }
    
    В некоторых случаях (не особо часто встречающихся) вам может понадобиться **ограничить** cookies, которые вы хотите получать.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. docs_src/cookie_param_models/tutorial002_py310.py

    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        model_config = {"extra": "forbid"}
    
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 343 bytes
    - Viewed (0)
Back to top