Skip to content

Commit

Permalink
changing value type of hydra.runtime.choices to Any (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
omry authored Apr 30, 2021
1 parent 88152f1 commit 69924a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydra/conf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ class RuntimeConf:
config_sources: List[ConfigSourceInfo] = MISSING

# Composition choices dictionary
choices: Dict[str, str] = field(default_factory=lambda: {})
# Ideally, the value type would be Union[str, List[str], None]
choices: Dict[str, Any] = field(default_factory=lambda: {})


@dataclass
Expand Down

0 comments on commit 69924a3

Please sign in to comment.