Skip to content

Commit

Permalink
refactor(info): rename infor to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mostaphaRoudsari committed Feb 23, 2020
1 parent 1b95ef1 commit ccf4fe9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions queenbee/schema/info.py → queenbee/schema/metadata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Queenbee Info class.
"""Queenbee MetaData class.
This object provides metadata information for a workflow.
Expand Down Expand Up @@ -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.'
Expand Down
4 changes: 2 additions & 2 deletions queenbee/schema/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -31,7 +31,7 @@ class Workflow(BaseModel):

id: str = str(uuid4())

info: Info = Field(
metadata: MetaData = Field(
None,
description='Workflow metadata information.'
)
Expand Down

0 comments on commit ccf4fe9

Please sign in to comment.