Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 414 for raises (0.04 seconds)

  1. docs/sts/client_grants/__init__.py

                                              preload_content=True,
                                              )
                if response.status != 200:
                    message = "Credential refresh failed, response: %s"
                    raise CredentialRetrievalError(
                        provider=method,
                        error_msg=message % response.status,
                    )
    
                creds = json.loads(response.data)
    
                query = {}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Dependências podem declarar requisitos de requisições (como cabeçalhos) ou outras subdependências:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Levantar exceções { #raise-exceptions }
    
    Essas dependências podem `raise` exceções, da mesma forma que dependências comuns:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Valores de retorno { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/FileNotifyInformation.java

        // filter flags
    
        /**
         * Any file name change in the watched directory or subtree causes a change notification wait operation to return.
         * Changes include renaming, creating, or deleting a file.
         */
        int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001;
    
        /**
         * Any directory-name change in the watched directory or subtree causes a change notification wait operation to
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Они могут объявлять требования к запросу (например HTTP-заголовки) или другие подзависимости:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Вызов исключений { #raise-exceptions }
    
    Зависимости из dependencies могут вызывать исключения с помощью `raise`, как и обычные зависимости:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Возвращаемые значения { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            List<Exception> causes = null;
            List<AutoCloseable> cs = new ArrayList<>(closeables);
            Collections.reverse(cs);
            for (AutoCloseable c : cs) {
                if (c != null) {
                    try {
                        c.close();
                    } catch (Exception e) {
                        if (causes == null) {
                            causes = new ArrayList<>();
                        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Elles peuvent déclarer des exigences pour la requête (comme des en-têtes) ou d'autres sous-dépendances :
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### Lever des exceptions { #raise-exceptions }
    
    Ces dépendances peuvent `raise` des exceptions, comme des dépendances normales :
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### Gérer les valeurs de retour { #return-values }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  7. fastapi/utils.py

        field_info: FieldInfo | None = None,
        alias: str | None = None,
        mode: Literal["validation", "serialization"] = "validation",
    ) -> ModelField:
        if annotation_is_pydantic_v1(type_):
            raise PydanticV1NotSupportedError(
                "pydantic.v1 models are no longer supported by FastAPI."
                f" Please update the response model {type_!r}."
            )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    ### Siempre `raise` en Dependencias con `yield` y `except` { #always-raise-in-dependencies-with-yield-and-except }
    
    Si capturas una excepción en una dependencia con `yield`, a menos que estés lanzando otra `HTTPException` o similar, **deberías volver a lanzar la excepción original**.
    
    Puedes volver a lanzar la misma excepción usando `raise`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. docs_src/handling_errors/tutorial001_py310.py

    from fastapi import FastAPI, HTTPException
    
    app = FastAPI()
    
    items = {"foo": "The Foo Wrestlers"}
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: str):
        if item_id not in items:
            raise HTTPException(status_code=404, detail="Item not found")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 299 bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    你可以使用與平常相同的依賴函式。
    
    ### 依賴的需求 { #dependency-requirements }
    
    它們可以宣告請求需求(例如標頭(headers))或其他子依賴:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### 拋出例外 { #raise-exceptions }
    
    這些依賴可以 `raise` 例外,與一般依賴相同:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### 回傳值 { #return-values }
    
    它們可以回傳值,也可以不回傳;無論如何,回傳值都不會被使用。
    
    因此,你可以重複使用在其他地方已使用過的一般依賴(會回傳值),即使回傳值不會被使用,該依賴仍會被執行:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top