Skip to content
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

write should assume org if passed in the client #75

Closed
russorat opened this issue Mar 18, 2020 · 1 comment · Fixed by #76
Closed

write should assume org if passed in the client #75

russorat opened this issue Mar 18, 2020 · 1 comment · Fixed by #76
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@russorat
Copy link
Contributor

If a user sets up the client with an org, they should not have to send the org in the write function.

client = InfluxDBClient(url="http://localhost:9999", token="my-token", org="my-org")
write_api.write(bucket=bucket, record=p)
@bednar bednar added this to the 1.6.0 milestone Mar 19, 2020
@bednar bednar added the bug Something isn't working label Mar 19, 2020
@bednar
Copy link
Contributor

bednar commented Mar 19, 2020

It works as you describe but examples/docs are not precise... I will fix it.

@bednar bednar added documentation Improvements or additions to documentation and removed bug Something isn't working labels Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants