queenbee.config.repositories module

class queenbee.config.repositories.RepositoryReference(*, type: ~typing.Literal['RepositoryReference'] = 'RepositoryReference', annotations: ~typing.Dict[str, ~typing.Any] = <factory>, name: str, path: str)[source]

Bases: BaseModel

fetch(auth_header: Dict[str, str] = {}) RepositoryIndex[source]

Fetch the referenced repository index

Returns:

return the index from the repository reference

Return type:

RepositoryIndex

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name: str
path: str
classmethod remote_or_local(v: str) str[source]

Format local uri as needed (ie: file:///)

type: Literal['RepositoryReference']