-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ELE-716] Report fails to generate if owner is configured as dict (exposures format) #827
Comments
Hi! @Maayan-s. I would be happy to fix this issue. To display the owner as it is in case of dict, we need to pass an exception for Error 1 , here.
What do you suggest? |
Thank you @manulpatel ! |
Hey @manulpatel, sorry for the late reply! The error that we get is a The schema that is throwing the error is ArtifactSchema. We need to edit _load_var_to_list to handle our case when our owner is a string of a dict
I prefer option 2 because that way we won't "lose" data. @manulpatel thank you again for willing to fix this issue! I am here to help with any question, and hope this made the error clearer 🙂 |
Describe the bug
We expect a string or list of strings in the owner field for sources.
For other format, we fail.
Example: {"name": "Maayan Salom", "email": "maayan@elementary-data.com"}
To Reproduce
Configure source owner like this:
Expected behavior
We shouldn't crush on it, even if we don't support thr format.
Screenshots
![image](https://user-images.githubusercontent.com/22072028/233999471-7c713907-1805-4cc8-9e38-e2ebca01e10d.png)
ELE-716
The text was updated successfully, but these errors were encountered: