Skip to content

Commit

Permalink
Merge pull request #8 from LamaAni/fix_environment_parse
Browse files Browse the repository at this point in the history
Fix environment parse
  • Loading branch information
LamaAni authored May 26, 2022
2 parents 02e7a10 + 1c6c55a commit db6d95a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bole/config/cascading.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import os
import yaml
from typing import Dict, List, Union
from typing import List, Union
from bole.consts import CONFIG_SEARCH_PATHS
from bole.exceptions import BoleException
from bole.utils import deep_merge
Expand Down Expand Up @@ -110,8 +110,8 @@ def config_imports(self) -> List[CascadingConfigImport]:
return CascadingConfigImport.parse_list(self.get(CASCADING_CONFIG_IMPORT_KEY, []))

@property
def environments(self) -> Dict[str, "CascadingConfig"]:
return CascadingConfig.parse_dictionary(self.get("environments", {}))
def environments(self):
return self.parse_dictionary(self.get("environments", {}))

@property
def settings(self) -> CascadingConfigSettings:
Expand Down

0 comments on commit db6d95a

Please sign in to comment.