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

Allow skipping DataFrameClient import #850

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jdoyle93
Copy link

@jdoyle93 jdoyle93 commented Sep 14, 2020

Importing the DataFrameClient can take quite a while,
especially when the source files aren't yet loaded into
the page cache.

This patch adds an environment variable, INFLUXDB_NO_DATAFRAME_CLIENT,
to allow users of this package to skip this import in cases where
they don't need it.


Contributor checklist
  • Builds are passing
  • New tests have been added (for feature additions)

Importing the DataFrameClient can take quite a while,
especially when the source files aren't yet loaded into
the page cache.

This patch adds an environment variable, INFLUXDB_NO_DATAFRAME_CLIENT,
to allow users of this package to skip this import in cases where
they don't need it.
influxdb/__init__.py Outdated Show resolved Hide resolved
Importing the DataFrameClient can take quite a while,
especially when the source files aren't yet loaded into
the page cache.

This patch adds an environment variable, INFLUXDB_NO_DATAFRAME_CLIENT,
to allow users of this package to skip this import in cases where
they don't need it.
Importing the DataFrameClient can take quite a while,
especially when the source files aren't yet loaded into
the page cache.

This patch adds an environment variable, INFLUXDB_NO_DATAFRAME_CLIENT,
to allow users of this package to skip this import in cases where
they don't need it.
@jdoyle93
Copy link
Author

Builds are now passing (except for coverage, which is broken for unrelated reasons)

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.

3 participants