-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
magic underscore error messages #2072
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
Comments
When a property is set via an argument using the |
Below I've tried different ways of using magic underscores to see where I need to tackle the problem and if I am missing any use cases Here it is clear the change needs to be made both in
|
Some more notes: |
Looks like your set above is pretty comprehensive. Indeed I don't think we need to catch situations like One additional note, however is that we also support stuff like |
Right now (assuming we have a shape defined), calling
but
However
Do we also want a similar error for the "x2000" case above where it lists the properties of shape? Or is it sufficient to just tack on a string to the error message like:
|
When you say "Right now" you mean on master or in your branch? |
on master |
I think the current behaviour on master is OK for the string when reading: Setting It'd be nice to get a full listing, but let's scope the current issue to just working with magic_underscores please. I'm intrigued that |
When doing something like
.update_layout(geo_lataxis_nonexistent=False)
the validation error I get today is fromgo.Layout
but it would be better to have it come fromgo.Layout.geo.lataxis
or however far in the magic_underscore_path is correctThe text was updated successfully, but these errors were encountered: