Skip to content

Commit 9b915fd

Browse files
authored
Remove logging in tfrecordio.py (#37794)
This message is printed on every import of apache-beam, which is unnecessarily verbose.
1 parent ea473d2 commit 9b915fd

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

sdks/python/apache_beam/io/tfrecordio.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@
3636
try:
3737
import crcmod
3838
except ImportError:
39-
logging.warning(
40-
'crcmod package not found. This package is required if '
41-
'python-snappy or google-crc32c are not installed. To ensure crcmod is '
42-
'installed, install the tfrecord extra: pip install '
43-
'apache-beam[tfrecord]')
4439
crcmod = None
4540

4641
__all__ = ['ReadFromTFRecord', 'ReadAllFromTFRecord', 'WriteToTFRecord']

0 commit comments

Comments
 (0)