Skip to content

Commit

Permalink
Removed pkg_resources import from tiingo.api, VERSION comes from __ve…
Browse files Browse the repository at this point in the history
…rsion__
  • Loading branch information
furechan committed Dec 25, 2024
1 parent b0eec6d commit 9661fb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tiingo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
MissingRequiredArgumentError,
)

from tiingo.__version__ import __version__ as VERSION

try:
import pandas as pd

pandas_is_installed = True
except ImportError:
pandas_is_installed = False

from .__version__ import __version__ as VERSION

# These methods enable python 2 + 3 compatibility.
def get_zipfile_from_response(response):
Expand Down

0 comments on commit 9661fb2

Please sign in to comment.