Pass through **kwargs in yaml config file #13081
-
Hi all, I'd like to pass through arguments in a yaml config file which are not declared with type hints in the classes receiving them, but are instead parsed out of **kwargs. Jsonargparse doesn't like this and complains that it needs type hints. Is there a simple way to do this? I'm aware I can define wrapper subclasses that declare the arguments in their For example, here's a snippet I'd like to use:
Here's what jsonargparse has to say about that:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
cc: @carmocca |
Beta Was this translation helpful? Give feedback.
-
Hi! This is a known issue that is not implemented atm: you can see more info in #11574 and #11653 |
Beta Was this translation helpful? Give feedback.
Hi! This is a known issue that is not implemented atm: you can see more info in #11574 and #11653