-
Notifications
You must be signed in to change notification settings - Fork 436
Clarify that adding tags requires a list #52
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
I researched a few options:
It looks like the current implementation relies on sets so that it can determine if a workbook already has tags or not, and can compute the difference |
For what he did, do nothing and doc since he called "update" on the set. If we want to, we can handle the case where the user assigns a value to "tags" which is a string or a list and convert it to a set instead of getting upset with them |
I've been having a crack at this, and I'm a bit stuck. Whilst it's simple enough to add a setter to workbook_item that checks for a string and then calls Am I overthinking this? Is there a straightforward way of resolving the issue? |
#52 docs - clarify tags must be a list
Docs are updated. |
) * Fixes tableau#50 - materialize the properties for completion This also fixes a bug where captions and aliases weren't being populated into the multidict correctly due to insufficient testing on my part originally * fixing example to be correct * really fix it this time * Add docstrings for is_* properties * Cleaner version of get for mld * Move to is not instead of standard equality and fixed py3
When calling tags.update("foobar") the result is the workbook being tagged with five tags: 'f', 'o', 'b', 'a', 'r'. To get the expected behavior you have to use tags.update(["foobar"]) because it expects a list. Clarify this.
The text was updated successfully, but these errors were encountered: