Skip to content

Commit

Permalink
Use compat namespace to avoid adding import_tensorflow_extension to p…
Browse files Browse the repository at this point in the history
…yarrow.* namespace

Change-Id: I94bd60d98b64cab6105fbdda793bc82050dc640e
  • Loading branch information
wesm committed Jul 4, 2018
1 parent 2ca3de9 commit 92aef7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ def parse_version(root):
__version__ = None


from pyarrow.compat import import_tensorflow_extension
import pyarrow.compat as compat


# Workaround for https://issues.apache.org/jira/browse/ARROW-2657
import_tensorflow_extension()
compat.import_tensorflow_extension()


from pyarrow.lib import cpu_count, set_cpu_count
Expand Down

0 comments on commit 92aef7a

Please sign in to comment.