aiq.registry_handlers.schemas.publish#
Attributes#
Classes#
An AgentIQ artifact including base64 encoded string of wheel package and corrosponding discovery metadata. |
|
An AgentIQ artifact including base64 encoded string of wheel package and corrosponding discovery metadata. |
|
The expected response from a publish request denoting status information. |
Module Contents#
- logger#
- class BuiltAIQArtifact(/, **data: Any)#
Bases:
pydantic.BaseModel
An AgentIQ artifact including base64 encoded string of wheel package and corrosponding discovery metadata.
- Args:
whl (str): A base64 encoded string of an AgentIQ package wheel (.whl).
metadata (dict[AIQComponentEnum, list[DiscoveryMetadata]]): Provides rich discover metadata for developers to quickly find useful components.
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.
- class AIQArtifact(/, **data: Any)#
Bases:
pydantic.BaseModel
An AgentIQ artifact including base64 encoded string of wheel package and corrosponding discovery metadata.
- Args:
artifact (BuildAIQArtifact): An AgentIQ artifact including base64 encoded string of wheel package and corrosponding discovery metadata.
whl_path (str): A local path to the built wheel package.
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.- artifact: BuiltAIQArtifact | None = None#
- class PublishResponse(/, **data: Any)#
Bases:
pydantic.BaseModel
The expected response from a publish request denoting status information.
- Args:
- status (StatusMessage): Provides metadata describing the success or errors that occurred when
making a publish 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.