-
Notifications
You must be signed in to change notification settings - Fork 436
D45 docs v06.1 #300
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
D45 docs v06.1 #300
Conversation
Added Tyler's correction for pycodestyle.
…into d45_docs_v06.1
docs/dev-guide.md
Outdated
- Ensure all indentation is done as 4-spaces and your editor is set to unix line endings. | ||
- The code matches PEP8 style guides. If you cloned the repo you can run `pycodestyle .` | ||
- The code matches PEP8 style guides. If you cloned the repo you can run `pycodestyle server-client-python test samples` |
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 should be pycodestyle tableauserverclient test samples
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.
Updated the pycodestyle
command as suggested.
docs/versions.md
Outdated
|
||
To use another version of the REST API, set the version like so: | ||
To always use the latest version of the REST API that is supported by the instance of Tableau Server you are connecting to, set the version using the `use_server_version()` method: | ||
|
||
```py | ||
import tableauserverclient as TSC | ||
|
||
server = TSC.Server('http://SERVER_URL') |
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.
probably have it be server = TSC.Server('http://SERVER_URL', use_server_version=True)
since that's more compact
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.
Yes. That is pretty slick.
docs/versions.md
Outdated
|
||
|
||
>>>>>>> 87acd20... Update versions.md (#195) |
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.
There is a conflict here. You need to resolve that before we push this.
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.
Resolved.
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.
🚀 (plus @RussTheAerialist's suggestions)
Updated command to: pycodestyle tableauserverclient test samples
updated example to use the more compact and elegant: `use_server_version=True`
I resolved the merge conflicts. |
Hi,
The biggest part of this update is to api-ref.md. I did a diff between the v4.1 release and the v6.1 and then tried to add every significant change. I left out some things, for example, the
target
class isn't listed separately. I just lumped it under subscriptions (as the target member).I'd like to get this PR merged to gh-pages, so that we can make smaller, faster, incremental updates. Once a year is not often enough!