code: def get_max_seq_len(self) -> Optional[int]:
          
          max_seq_len = min((encoder.get_max_seq_len()
                             for encoder in self.encoders if encoder.get_max_seq_len() is not None), default=None)
          return max_seq_len
docs: :return: The maximum length supported by the encoder if such a restriction exists.