From 3721a21cbd6ad9430e51b86de192b901783f7e53 Mon Sep 17 00:00:00 2001 From: tvalentyn Date: Fri, 6 Mar 2026 15:39:12 -0800 Subject: [PATCH] Update tfrecordio.py This message is printed on every import of apache-beam, which is unnecessarily verbose. --- sdks/python/apache_beam/io/tfrecordio.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sdks/python/apache_beam/io/tfrecordio.py b/sdks/python/apache_beam/io/tfrecordio.py index 073cbc1d211b..faa925d2f1e8 100644 --- a/sdks/python/apache_beam/io/tfrecordio.py +++ b/sdks/python/apache_beam/io/tfrecordio.py @@ -36,11 +36,6 @@ try: import crcmod except ImportError: - logging.warning( - 'crcmod package not found. This package is required if ' - 'python-snappy or google-crc32c are not installed. To ensure crcmod is ' - 'installed, install the tfrecord extra: pip install ' - 'apache-beam[tfrecord]') crcmod = None __all__ = ['ReadFromTFRecord', 'ReadAllFromTFRecord', 'WriteToTFRecord']