Skip to content

Commit

Permalink
fix issues w/ python 3.8 typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Haumesser committed Apr 12, 2022
1 parent 13fc2f1 commit 38d6126
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
CHANGES
=======

* rtd
* rtd
* rtd
* typo
* rtd updates
* remove old python versions
* try to fix docs theme
* try to fix docs theme
Expand Down
2 changes: 1 addition & 1 deletion cfitall/providers/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class FilesystemProvider(ConfigProviderBase):
prefix: str

def __init__(
self, path: list[str], prefix: str, provider_name: str = "filesystem"
self, path: List[str], prefix: str, provider_name: str = "filesystem"
) -> None:
"""
FilesystemProvider attempts to read json or yaml configuration files
Expand Down
4 changes: 2 additions & 2 deletions cfitall/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def all(self) -> Dict:
return values

@property
def config_keys(self) -> list[str]:
def config_keys(self) -> List[str]:
"""
Returns a list of currently used configuration keys as dotted paths, for
use with the get() or set() methods.
Expand All @@ -88,7 +88,7 @@ def dict(self) -> Dict:
return self._merge_configs()

@property
def env_vars(self) -> list[str]:
def env_vars(self) -> List[str]:
"""
Returns a list of environment variables known from config files and defaults
"""
Expand Down

0 comments on commit 38d6126

Please sign in to comment.