aiq.registry_handlers.schemas.remove#
Attributes#
Classes#
Represents a data model for the expected response from a remove request, including packages and status metadata. |
Module Contents#
- logger#
- class RemoveResponse(/, **data: Any)#
Bases:
pydantic.BaseModel
Represents a data model for the expected response from a remove request, including packages and status metadata.
- Args:
packages (list[PackageNameVersion]): A list of packages that are to be removed from a remote registry. status (StatusMessage): Provides metadata describing the success or errors that occurred when making a remove request.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.- packages: list[aiq.registry_handlers.schemas.package.PackageNameVersion] = []#