Skip to content

Commit

Permalink
adding missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasValentin committed Jun 5, 2023
1 parent 2cbed48 commit d12c988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eodal/mapper/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ def from_yaml(cls, fpath: str | Path):
# overwrite data_source attribute with content from
# file in case it is available
configs.data_source = yaml_content.get('data_source', 'UNKNOWN')
return configs
except KeyError as e:
raise ValueError(f"Missing keys in yaml file: {e}")

Expand Down

0 comments on commit d12c988

Please sign in to comment.