Skip to content

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
- Only touch the fewest number of files possible while still accomplishing the goal.
- 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
```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
server.version = '2.6'


>>>>>>> 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