Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Jun 4, 2024
1 parent b69282b commit 006dee4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/wxflow/task.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from typing import Dict
from typing import Dict, Union

from .attrdict import AttrDict
from .timetools import add_to_datetime, to_timedelta
Expand Down Expand Up @@ -97,8 +97,8 @@ def clean(self):
"""
pass

def extend_task_config(self, local_dict: Dict) -> None:
"""
def extend_task_config(self, local_dict: Union[Dict, AttrDict]) -> None:
"""
Extend task_config attribute-dictionary with another dictionary
"""

Expand All @@ -109,7 +109,4 @@ def j2yaml_to_filehandler(self, path: str) -> None:
Pass dictionary, created by parsing Jinja2-templated YAML, to file handler
"""

file_dict = parse_j2yaml(path, self.task_config)
FileHandler(file_dict).sync()


FileHandler(parse_j2yaml(path, self.task_config)).sync()

Check warning on line 112 in src/wxflow/task.py

View check run for this annotation

Codecov / codecov/patch

src/wxflow/task.py#L112

Added line #L112 was not covered by tests

0 comments on commit 006dee4

Please sign in to comment.