Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for error (0.15 sec)

  1. fastapi/security/http.py

            scheme: str,
            scheme_name: Optional[str] = None,
            description: Optional[str] = None,
            auto_error: bool = True,
        ):
            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
        async def __call__(
            self, request: Request
        ) -> Optional[HTTPAuthorizationCredentials]:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/concepts.md

    ### Small Errors Automatically Handled
    
    When building web APIs with FastAPI, if there's an error in our code, FastAPI will normally contain it to the single request that triggered the error. 🛡
    
    The client will get a **500 Internal Server Error** for that request, but the application will continue working for the next requests instead of just crashing completely.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  3. docs/es/docs/index.md

    * Validar que existe un `item_id` en el path para requests usando `GET` y `PUT`.
    * Validar que el `item_id` es del tipo `int` para requests de tipo `GET` y `PUT`.
        * Si no lo es, el cliente verá un mensaje de error útil y claro.
    * Revisar si existe un query parameter opcional llamado `q` (cĂłmo en `http://127.0.0.1:8000/items/foo?q=somequery`) para requests de tipo `GET`.
        * Como el parámetro `q` fue declarado con `= None` es opcional.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  4. README.md

    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    * Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests.
        * As the `q` parameter is declared with `= None`, it is optional.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. docs/en/docs/index.md

    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    * Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests.
        * As the `q` parameter is declared with `= None`, it is optional.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  6. docs/pt/docs/index.md

    * **Rápido para codar**: Aumenta a velocidade para desenvolver recursos entre 200% a 300%. *
    * **Poucos bugs**: Reduz cerca de 40% de erros induzidos por humanos (desenvolvedores). *
    * **Intuitivo**: Grande suporte a _IDEs_. <abbr title="também conhecido como _auto-complete_, _autocompletion_, _IntelliSense_">_Auto-Complete_</abbr> em todos os lugares. Menos tempo debugando.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/settings.md

    !!! info
        In Pydantic version 1 the configuration was done in an internal class `Config`, in Pydantic version 2 it's done in an attribute `model_config`. This attribute takes a `dict`, and to get autocompletion and inline errors you can import and use `SettingsConfigDict` to define that `dict`.
    
    Here we define the config `env_file` inside of your Pydantic `Settings` class, and set the value to the filename with the dotenv file we want to use.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top