Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 275 for formed (1.21 sec)

  1. docs_src/cookie_param_models/tutorial002_an_py310.py

    from typing import Annotated
    
    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: Annotated[Cookies, Cookie()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 383 bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

         * @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
         *         otherwise.
         */
        boolean isForceUpdate();
    
        /**
         * Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
         *
         * @param forceUpdate {@code true} to forcibly check the remote repositories for updated artifacts/metadata, {@code
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs_src/cookie_param_models/tutorial002_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        model_config = {"extra": "forbid"}
    
        session_id: str
        fatebook_tracker: Union[str, None] = None
        googall_tracker: Union[str, None] = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Annotated[Cookies, Cookie()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 402 bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/query-param-models.md

    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Запретить Дополнительные Query-Параметры { #forbid-extra-query-parameters }
    
    В некоторых случаях (не особо часто встречающихся) вам может понадобиться **ограничить** query-параметры, которые вы хотите получить.
    
    Вы можете сконфигурировать Pydantic-модель так, чтобы запретить (`forbid`) все дополнительные (`extra`) поля.
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Arrange - mock cause to verify no interactions are needed to construct
            Throwable cause = Mockito.mock(Throwable.class);
            String message = "forced downgrade detected";
    
            // Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);
    
            // Assert - fields preserved
            assertSame(cause, ex.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/query-param-models.md

    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Restrinja Parâmetros de Consulta Extras { #forbid-extra-query-parameters }
    
    Em alguns casos especiais (provavelmente não muito comuns), você queira **restrinjir** os parâmetros de consulta que deseja receber.
    
    Você pode usar a configuração do modelo Pydantic para `forbid` (proibir) qualquer campo `extra`:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/cookie-param-models.md

    ///
    
    ## Zusätzliche Cookies verbieten { #forbid-extra-cookies }
    
    In einigen speziellen Anwendungsfällen (wahrscheinlich nicht sehr häufig) möchten Sie möglicherweise die Cookies, die Sie empfangen möchten, **einschränken**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. architecture/standards/0008-use-nullaway.md

    Not all client code is compiled with NullAway.
    Do not make a parameter `@Nullable` just to check and throw a `NullPointerException` when it is `null`. 
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * Classes are forced to have consistent nullability annotations.
    * IDE warnings become more accurate, reducing warnings fatigue.
    * Public API nullability annotations become closer to reality.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. 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)
  10. docs_src/request_form_models/tutorial002_py39.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 267 bytes
    - Viewed (0)
Back to top