Skip to content

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

Merged
merged 8 commits into from
Jun 5, 2018
Merged

D45 docs v06.1 #300

merged 8 commits into from
Jun 5, 2018

Conversation

d45
Copy link
Contributor

@d45 d45 commented May 31, 2018

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!

@d45 d45 requested review from graysonarts and t8y8 May 31, 2018 20:54
- 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`
Copy link
Contributor

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

Copy link
Contributor Author

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')
Copy link
Contributor

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

Copy link
Contributor Author

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)
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved.

Copy link
Collaborator

@t8y8 t8y8 left a 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)

d45 added 3 commits June 4, 2018 16:43
Updated command to:  pycodestyle tableauserverclient test samples
updated example to use the more compact and elegant: `use_server_version=True`
@d45
Copy link
Contributor Author

d45 commented Jun 5, 2018

I resolved the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants