queenbee.base.metadata module¶
Queenbee MetaData class.
This object provides metadata information for a package.
The specification is designed based on openapi info object: https://swagger.io/specification/#infoObject
- class queenbee.base.metadata.License(*, type: ConstrainedStrValue = 'License', annotations: Dict[str, Any] = None, name: str, url: AnyUrl = None)[source]¶
Bases:
BaseModel
License information for the Package
- name: str¶
- type: ConstrainedStrValue¶
- url: AnyUrl¶
- class queenbee.base.metadata.Maintainer(*, type: ConstrainedStrValue = 'Maintainer', annotations: Dict[str, Any] = None, name: str, email: str = None)[source]¶
Bases:
BaseModel
Maintainer information
- email: str¶
- name: str¶
- type: ConstrainedStrValue¶
- class queenbee.base.metadata.MetaData(*, type: ConstrainedStrValue = 'MetaData', annotations: Dict[str, Any] = None, name: str, tag: str, app_version: str = None, keywords: List[str] = None, maintainers: List[Maintainer] = None, home: str = None, sources: List[str] = None, icon: str = None, deprecated: bool = None, description: str = None, license: License = None)[source]¶
Bases:
BaseModel
Package metadata information.
- app_version: str¶
- deprecated: bool¶
- description: str¶
- home: str¶
- icon: str¶
- keywords: List[str]¶
- maintainers: List[Maintainer]¶
- name: str¶
- sources: List[str]¶
- tag: str¶
- type: ConstrainedStrValue¶