Skip to content

Commit

Permalink
Use logger.debug when numpy is not found (#2712)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com>
  • Loading branch information
thomasjpfan authored Aug 26, 2024
1 parent 83b90fa commit f155140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/types/schema/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def _get_numpy_type_mappings() -> typing.Dict[Type, SchemaType.SchemaColumn.Sche
_np.object_: SchemaType.SchemaColumn.SchemaColumnType.STRING,
}
except ImportError as e:
logger.warning("Numpy not found, skipping numpy type mappings, error: %s", e)
logger.debug("Numpy not found, skipping numpy type mappings, error: %s", e)
return {}


Expand Down

0 comments on commit f155140

Please sign in to comment.