aiq.registry_handlers.schemas.publish#

Attributes#

Classes#

BuiltAIQArtifact

An AgentIQ artifact including base64 encoded string of wheel package and corrosponding discovery metadata.

AIQArtifact

An AgentIQ artifact including base64 encoded string of wheel package and corrosponding discovery metadata.

PublishResponse

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 allow self as a field name.

whl: str#
metadata: dict[aiq.data_models.component.AIQComponentEnum, list[aiq.data_models.discovery_metadata.DiscoveryMetadata]]#
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 allow self as a field name.

artifact: BuiltAIQArtifact | None = None#
whl_path: str#
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 allow self as a field name.

status: aiq.registry_handlers.schemas.status.StatusMessage#