Skip to content

Commit

Permalink
add _lowlevel_helpers.py without old classes
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisblake committed Nov 10, 2024
1 parent 2c704b5 commit c322808
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions pyaerocom/_lowlevel_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,6 @@ def validate(self, val):
return val


# class DictType(Validator):
# def validate(self, val):
# if not isinstance(val, dict):
# raise ValueError(f"need dict, got {val}")
# return val


class FlexList(Validator):
"""list that can be instantated via input str, tuple or list or None"""

Expand Down Expand Up @@ -170,17 +163,6 @@ def validate(self, val):
return val


# class DictStrKeysListVals(Validator):
# def validate(self, val: dict):
# if not isinstance(val, dict):
# raise ValueError(f"need dict, got {val}")
# if any(not isinstance(x, str) for x in val):
# raise ValueError(f"all keys need to be str type in {val}")
# if any(not isinstance(x, list) for x in val.values()):
# raise ValueError(f"all values need to be list type in {val}")
# return val


class Loc(abc.ABC):
"""Abstract descriptor representing a path location
Expand Down

0 comments on commit c322808

Please sign in to comment.