pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/influxdata/influxdb-python/pull/602

al-0bd78641c0a1f3e0.css" /> Use default DB in InfluxDBClient.write. by bgusach · Pull Request #602 · influxdata/influxdb-python · GitHub
Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Use default DB in InfluxDBClient.write.#602

Open
bgusach wants to merge 2 commits intoinfluxdata:masterfrom
bgusach:master
Open

Use default DB in InfluxDBClient.write.#602
bgusach wants to merge 2 commits intoinfluxdata:masterfrom
bgusach:master

Conversation

@bgusach
Copy link
Copy Markdown

@bgusach bgusach commented Jul 3, 2018

Centralize default parameters in a function, and reuse these defaults in
InfluxDBClient._write_points and .query.

Centralize default parameters in a function, and reuse these defaults in
InfluxDBClient._write_points and .query.
@patricktokeeffe
Copy link
Copy Markdown

A better approach would be to collect params inside write(), as was done for write_points() in 7fae65f

Also, write() should get a new database=None argument (like write_points has) that documents the use of connection's default database.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy