-
Notifications
You must be signed in to change notification settings - Fork 6
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
Iterate over storage plugins #643
Conversation
Updated persons.json and made sure that it is not overwritten by any test.
…e ready using it...
@@ -191,7 +191,7 @@ def table_create(self, meta, dims=None): | |||
] | |||
for p in meta["properties"]: | |||
decl = f'"{p.name}" {to_pgtype(p.type)}' | |||
if len(p.dims): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change does not make sense to me. You test for the length of shape, but use dims, as before you tested and used dims
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sell seen. p.dims is an backward-compatible alias for p.shape. We should use p.shape
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now
Description
Fixed iteration over storage plugins. One use case is automatic generation of documentation of storage plugins (see issue #642).
Quite many changes, but the most interesting change is this line.
Additional fixes:
Type of change
Checklist for the reviewer
This checklist should be used as a help for the reviewer.