Improve Error Message When kwargs Is Not Unpacked? #1205
Labels
discussion
Discussion
enhancement
New feature or request
Priority:Normal
Normal Priority Issue or PR
Today, I was working with a modular property block, and got a bizarre error that seemed inexplicable:
All I was doing was taking a configuration dictionary already used in an example and changing/adding some parameters:
Of course, the problem is that I forgot to unpack the configuration dictionary
config
, changing the line to:fixed the problem.
Is there a way we could add a better error message for this sort of issue?
The text was updated successfully, but these errors were encountered: