Open arthurcw opened 3 weeks ago
Thanks for reporting @arthurcw !
Interesting - I'd expect _load_var_to_list
to work correctly since try_load_json
would return None
and we'd return a list with a single string as a result.
Though admittedly the code is confusing so maybe there's a bug there. In any case if you have a fix please feel free to submit a PR.
Thanks! Itamar
Describe the bug Could not generate the report - Error: validation error for ExposureSchema. It's similar to #827
To Reproduce Configure the exposure owner to:
Expected behavior edr report or edr send-report to run without errors
Screenshots
Environment (please complete the following information):
Additional context I think we need updates to the
_load_var_to_list
method herecls._load_var_to_list(owners)
method_load_var_to_list
will returnabcdefg
and not a listWould you be willing to contribute a fix for this issue? Yes. I think either need to adjust how the
owners
is returned from self.models_fetcher.get_exposures() or adjust__load_var_to_list
method.