diff --git a/queenbee/schema/info.py b/queenbee/schema/metadata.py similarity index 93% rename from queenbee/schema/info.py rename to queenbee/schema/metadata.py index 76b25030..f097300d 100644 --- a/queenbee/schema/info.py +++ b/queenbee/schema/metadata.py @@ -1,4 +1,4 @@ -"""Queenbee Info class. +"""Queenbee MetaData class. This object provides metadata information for a workflow. @@ -41,8 +41,8 @@ class License(BaseModel): ) -class Info(BaseModel): - """Workflow meta data information.""" +class MetaData(BaseModel): + """Workflow metadata information.""" description: str = Field( None, description='A short description of the workflow.' diff --git a/queenbee/schema/workflow.py b/queenbee/schema/workflow.py index ac2ab2d4..957666c7 100644 --- a/queenbee/schema/workflow.py +++ b/queenbee/schema/workflow.py @@ -18,7 +18,7 @@ HTTPLocation, S3Location from queenbee.schema.parser import parse_double_quote_workflow_vars, \ replace_double_quote_vars -from queenbee.schema.info import Info +from queenbee.schema.metadata import MetaData import queenbee.schema.variable as qbvar @@ -31,7 +31,7 @@ class Workflow(BaseModel): id: str = str(uuid4()) - info: Info = Field( + metadata: MetaData = Field( None, description='Workflow metadata information.' )