Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 463 for custom1 (0.03 sec)

  1. docs/de/docs/tutorial/handling-errors.md

    Sie könnten ein `dict`, eine `list`, usw. übergeben.
    
    Diese werden von **FastAPI** automatisch gehandhabt und in JSON konvertiert.
    
    ///
    
    ## Benutzerdefinierte Header hinzufügen { #add-custom-headers }
    
    Es gibt Situationen, in denen es nützlich ist, dem HTTP-Error benutzerdefinierte Header hinzuzufügen. Zum Beispiel in einigen Sicherheitsszenarien.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

         */
        public void test_validateInputStream_worksWithVariousStreamTypes() {
            // ByteArrayInputStream
            extractor.testValidateInputStream(new ByteArrayInputStream(new byte[10]));
    
            // Custom InputStream implementation
            final InputStream customStream = new InputStream() {
                @Override
                public int read() {
                    return -1;
                }
            };
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/response-directly.md

    ///
    
    ## Eine benutzerdefinierte `Response` zurückgeben { #returning-a-custom-response }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-directly.md

    ///
    
    ## Devolver una `Response` personalizada { #returning-a-custom-response }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/openapi-callbacks.md

    Sehen wir uns das alles anhand eines Beispiels an.
    
    Stellen Sie sich vor, Sie entwickeln eine Anwendung, mit der Sie Rechnungen erstellen können.
    
    Diese Rechnungen haben eine `id`, einen optionalen `title`, einen `customer` (Kunde) und ein `total` (Gesamtsumme).
    
    Der Benutzer Ihrer API (ein externer Entwickler) erstellt mit einem POST-Request eine Rechnung in Ihrer API.
    
    Dann wird Ihre API (stellen wir uns vor):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. docs_src/openapi_callbacks/tutorial001_py39.py

    from typing import Union
    
    from fastapi import APIRouter, FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Invoice(BaseModel):
        id: str
        title: Union[str, None] = None
        customer: str
        total: float
    
    
    class InvoiceEvent(BaseModel):
        description: str
        paid: bool
    
    
    class InvoiceEventReceived(BaseModel):
        ok: bool
    
    
    invoices_callback_router = APIRouter()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { 0x01 })));
    
            // Create a custom APPLICATION tagged object that throws IOException when encoding
            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/path-operation-advanced-configuration.md

                        }
                    },
                    "x-aperture-labs-portal": "blue"
                }
            }
        }
    }
    ```
    
    ### Esquema de *path operation* personalizada de OpenAPI { #custom-openapi-path-operation-schema }
    
    El diccionario en `openapi_extra` se combinará profundamente con el esquema de OpenAPI generado automáticamente para la *path operation*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/path-operation-advanced-configuration.md

                        }
                    },
                    "x-aperture-labs-portal": "blue"
                }
            }
        }
    }
    ```
    
    ### Esquema de *operação de rota* do OpenAPI personalizado { #custom-openapi-path-operation-schema }
    
    O dicionário em `openapi_extra` vai ter todos os seus níveis mesclados dentro do esquema OpenAPI gerado automaticamente para a *operação de rota*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. fastapi/security/oauth2.py

                data["client_secret"] = form_data.client_secret
            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
        You could have custom internal logic to separate it by colon characters (`:`) or
        similar, and get the two parts `items` and `read`. Many applications do that to
        group and organize permissions, you could do it as well in your application, just
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top