Closed micah-williamson closed 4 years ago
hi @iamchairs - thank you for reporting this issue.
TBH I can not reproduce your case - in particular circular dependencies within a package.
Nevertheless you can probably use forward_references
parameter to handle this issue - please check example in https://github.com/konradhalas/dacite#forward-references
Python supports circular dependencies when an entire package is included through the wildcard. But dacite is unable to deserialize circular dependencies. Example:
Then when I try to load this:
I get-
Because it can't find
B
in thefrom .b import *
statement?What can I do to get around this issue?