Skip to content

Commit

Permalink
MNT Switch ThirdPartyParameters.Config.impl_schemas to Optional[str] …
Browse files Browse the repository at this point in the history
…to match TaskResult type
  • Loading branch information
gadorlhiac committed May 6, 2024
1 parent 24889ff commit 783b9c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lute/io/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ class Config(TaskParameters.Config):
setting the TaskResult object from the parameters it contains.
E.g. it has an `output` parameter which is marked as the result.
impl_schemas (str). Specifies a the schemas the output/results
conform to. Only used if set_result is True.
impl_schemas (Optional[str]). Specifies a the schemas the
output/results conform to. Only used if set_result is True.
"""

extra: str = "allow"
Expand All @@ -183,7 +183,7 @@ class Config(TaskParameters.Config):
# """Format a TaskResult.summary from output."""
# result_from_params: str = ""
# """Defines a result from the parameters. Use a validator to do so."""
impl_schemas: str = ""
impl_schemas: Optional[str] = None
"""Schema specification for output result. Will be passed to TaskResult."""

# lute_template_cfg: TemplateConfig
Expand Down

0 comments on commit 783b9c7

Please sign in to comment.