Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for RuntimeError (0.1 sec)

  1. fastapi/exceptions.py

            super().__init__(code=code, reason=reason)
    
    
    RequestErrorModel: Type[BaseModel] = create_model("Request")
    WebSocketErrorModel: Type[BaseModel] = create_model("WebSocket")
    
    
    class FastAPIError(RuntimeError):
        """
        A generic, FastAPI-specific error.
        """
    
    
    class ValidationException(Exception):
        def __init__(self, errors: Sequence[Any]) -> None:
            self._errors = errors
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. fastapi/utils.py

                    "model_config": model_config,
                    "alias": alias,
                }
            )
        try:
            return ModelField(**kwargs)  # type: ignore[arg-type]
        except (RuntimeError, PydanticSchemaGenerationError):
            raise fastapi.exceptions.FastAPIError(
                "Invalid args for response field! Hint: "
                f"check that {type_} is a valid Pydantic field type. "
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 23:46:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. .github/actions/people/app/main.py

            )
            logging.error(response.text)
            raise RuntimeError(response.text)
        data = response.json()
        if "errors" in data:
            logging.error(f"Errors in response, after: {after}, category_id: {category_id}")
            logging.error(data["errors"])
            logging.error(response.text)
            raise RuntimeError(response.text)
        return data
    
    
    def get_graphql_question_discussion_edges(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
  4. fastapi/dependencies/utils.py

                except ImportError:
                    logger.error(multipart_incorrect_install_error)
                    raise RuntimeError(multipart_incorrect_install_error) from None
            except ImportError:
                logger.error(multipart_not_installed_error)
                raise RuntimeError(multipart_not_installed_error) from None
    
    
    def get_param_sub_dependant(
        *,
        param_name: str,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg regexp, method (*Regexp) MarshalText() ([]uint8, error) #46159
    pkg regexp, method (*Regexp) UnmarshalText([]uint8) error #46159
    pkg runtime, method (*PanicNilError) Error() string #25448
    pkg runtime, method (*PanicNilError) RuntimeError() #25448
    pkg runtime, method (*Pinner) Pin(interface{}) #46787
    pkg runtime, method (*Pinner) Unpin() #46787
    pkg runtime, type PanicNilError struct #25448
    pkg runtime, type Pinner struct #46787
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. RELEASE.md

                global random seed has not yet been set (via `tf.random.set_seed`).
                Throws `RuntimeError` from Python or `InvalidArgument` from C++
            *   `tf.compat.v1.get_seed` if the global random seed has not yet been
                set (via `tf.random.set_seed`). Throws `RuntimeError` from Python or
                `InvalidArgument` from C++
    
    ## Security
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * ✨ Add support in `jsonable_encoder` for include and exclude with dataclasses. PR [#4923](https://github.com/tiangolo/fastapi/pull/4923) by [@DCsunset](https://github.com/DCsunset).
    
    ### Fixes
    
    * 🐛 Fix `RuntimeError` raised when `HTTPException` has a status code with no content. PR [#5365](https://github.com/tiangolo/fastapi/pull/5365) by [@iudeen](https://github.com/iudeen).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg runtime, method (*TypeAssertionError) Error() string
    pkg runtime, method (*TypeAssertionError) RuntimeError()
    pkg runtime, type Error interface { Error, RuntimeError }
    pkg runtime, type Error interface, Error() string
    pkg runtime, type Error interface, RuntimeError()
    pkg runtime, type Func struct
    pkg runtime, type MemProfileRecord struct
    pkg runtime, type MemProfileRecord struct, AllocBytes int64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top