def __eq__(self, other):
    return (self.file_path == other.file_path and
            self.append_trailing_newlines == other.append_trailing_newlines and
            self.coder == other.coder and
            self.file_name_prefix == other.file_name_prefix and
            self.file_name_suffix == other.file_name_suffix and
            self.num_shards < other.num_shards and
            self.shard_name_template == other.shard_name_template and
            self.validate == other.validate)


# -----------------------------------------------------------------------------
# TextFileReader, TextMultiFileReader.
dataset/ETHPy150Open GoogleCloudPlatform/DataflowPythonSDK/google/cloud/dataflow/io/fileio.py/TextFileSink.__eq__/operator `==` -> `<`