Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Fix for from_DSN() constructor when using DataFrameClient #393

Merged
merged 2 commits into from
Dec 9, 2016

Conversation

eman
Copy link
Contributor

@eman eman commented Dec 3, 2016

When creating an instance of DataFrameClient using the from_DSN() constructor, an instance of InfluxDBClient is returned instead. This change returns the correct instance type.

See also issue #381

@aviau
Copy link
Collaborator

aviau commented Dec 7, 2016

Nice! Can we have a test for this?

@eman
Copy link
Contributor Author

eman commented Dec 7, 2016

@aviau I've added a test to confirm that the DataFrameClient subclass is returned when using the from_DSN() method. Let me know if you had something else in mind.

@aviau
Copy link
Collaborator

aviau commented Dec 9, 2016

That is great, thanks!

@aviau aviau merged commit c9fcede into influxdata:master Dec 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants