Response Models# ValidResponse# type fitrequest.response_model.ValidResponse = type[BaseModel] | str | None# Annotated type used for validation, coercion, and serialization of response models. ValidResponse validation# fitrequest.response_model.validate_init_value(value: Any) → type[BaseModel] | None[source]# Validate the response model. If a string is given, attempts to retrieve the corresponding model from the global environment. Raise an InvalidResponseTypeError if the provided value has an incorrect type.