def __repr__(self):
if len(self) == <NUM_LIT:0>:<EOL><INDENT>return "<STR_LIT:{}>"<EOL><DEDENT>samples_message = "<STR_LIT>".format(self.__class__.__name__, self.config_file)<EOL>try:<EOL><INDENT>num_samples = len(self._samples)<EOL><DEDENT>except (AttributeError, TypeError):<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>samples_message += "<STR_LIT>".format(num_samples)<EOL>if num_samples <= MAX_PROJECT_SAMPLES_REPR:<EOL><INDENT>samples_message += "<STR_LIT>".format(repr(self._samples))<EOL><DEDENT><DEDENT>meta_text = super(Project, self).__repr__()<EOL>return "<STR_LIT>".format(samples_message, meta_text)<EOL>
Representation in interpreter.