hermes.commands.curate.pass_curate
Classes
!!! abstract "Usage Documentation" |
|
Base plugin for curate plugins. |
Module Contents
- class hermes.commands.curate.pass_curate.PassCurateSettings(/, **data: Any)
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_decorators__
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_fields__
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- class hermes.commands.curate.pass_curate.PassCuratePlugin
Bases:
hermes.commands.curate.base.HermesCuratePluginBase plugin for curate plugins.
- __call__(command: hermes.commands.curate.base.HermesCurateCommand, metadata: hermes.model.SoftwareMetadata) hermes.model.SoftwareMetadata
Execute the hermes curate plugin self.
- Parameters:
command (HermesCurateCommand) – The command being executed.
metadata (SoftwareMetadata) – The metadata to be curated.
- Returns:
The curated metadata.
- Return type: