Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/hsfs/client/hopsworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

try:
import jks
except ModuleNotFoundError:
except ImportError:
pass


Expand Down
6 changes: 3 additions & 3 deletions python/hsfs/core/tfdata_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@

try:
import tensorflow as tf
except ModuleNotFoundError:
except ImportError:
tf = mock.Mock()

try:
from pydoop import hdfs
except ModuleNotFoundError:
except ImportError:
hdfs = mock.Mock()

try:
import boto3
except ModuleNotFoundError:
except ImportError:
pass


Expand Down
2 changes: 1 addition & 1 deletion python/hsfs/engine/spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
try:
from pyspark.sql import SparkSession, DataFrame
from pyspark.rdd import RDD
except ModuleNotFoundError:
except ImportError:
pass

from hsfs import feature, training_dataset_feature
Expand Down
2 changes: 1 addition & 1 deletion python/tests/hsfs/core/tfdata_engine_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

try:
import tensorflow as tf
except ModuleNotFoundError:
except ImportError:
pass

from hsfs.core.tfdata_engine import TFDataEngine
Expand Down