Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rjra2611 committed May 23, 2022
1 parent f0f1b19 commit 82f75ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lean/models/json_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_non_user_required_properties(self) -> List[Configuration]:
config._is_type_configurations_env and self.check_if_config_passes_filters(config)]

def get_required_properties(self, filters: List[Type[Configuration]] = []) -> List[str]:
return [config._id for config in self.get_required_configs() if type(config) not in filters]
return [config._id for config in self.get_required_configs(filters)]

def get_required_configs(self, filters: List[Type[Configuration]] = []) -> List[Configuration]:
required_configs = [copy.copy(config) for config in self._lean_configs if config._is_required_from_user
Expand Down

0 comments on commit 82f75ec

Please sign in to comment.