Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 6,808 for retain (0.03 sec)

  1. tests/test_tutorial/test_header_param_models/test_tutorial003.py

                            "properties": {
                                "detail": {
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationError"
                                    },
                                    "type": "array",
                                    "title": "Detail",
                                }
                            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. docs_src/bigger_applications/app_an_py39/dependencies.py

    async def get_token_header(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 409 bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

     * code shouldn't use these, they're necessary for clients migrating from OkHttp 3.x and this test
     * ensures the symbols remain available and with the expected parameter and return types.
     */
    @Suppress(
      "DEPRECATION_ERROR",
      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
    )
    class KotlinDeprecationErrorTest {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        @Override
        public String getShare() {
            return this.share;
        }
    
        @Override
        public String getPath() {
            return this.path;
        }
    
        /**
         * Get the referral flags
         *
         * @return the rflags
         */
        public int getFlags() {
            return this.rflags;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         *
         * @return path matcher that unconditionally returns {@code true} for all files
         */
        @Nonnull
        PathMatcher includesAll();
    
        /**
         * {@return whether the given matcher includes all files}.
         * This method may conservatively returns {@code false} if case of doubt.
         * A return value of {@code true} means that the pattern is certain to match all files.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            // Verify that renew() was called but credentials were not updated
            assertFalse(renewed, "renewCredentials should return false when renewable credentials are not renewed");
            assertEquals(mockRenewableCredentials, wrapper.getCredentials(), "Credentials should remain unchanged if renew() returns null");
            verify(mockRenewableCredentials).renew();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. tests/test_regex_deprecated_body.py

            async def read_items(
                q: Annotated[str | None, Form(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_no_query():
        client = get_client()
        response = client.post("/items/")
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 12:45:20 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. fastapi/exceptions.py

                raise HTTPException(status_code=404, detail="Item not found")
            return {"item": items[item_id]}
        ```
        """
    
        def __init__(
            self,
            status_code: Annotated[
                int,
                Doc(
                    """
                    HTTP status code to send to the client.
                    """
                ),
            ],
            detail: Annotated[
                Any,
                Doc(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

        ],
    )
    def get_mod_name(request: pytest.FixtureRequest):
        return request.param
    
    
    @pytest.fixture(name="client")
    def get_client(mod_name: str):
        mod = importlib.import_module(f"docs_src.body_nested_models.{mod_name}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_put_all(client: TestClient, mod_name: str):
        if mod_name.startswith("tutorial003"):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top