in data/envs/babyai/bot_agent.py [0:0]
def __repr__(self):
"""Mainly for debugging purposes"""
representation = "("
representation += type(self).__name__
if self.datum is not None:
representation += f": {self.datum}"
if self.reason is not None:
representation += f", reason: {self.reason}"
representation += ")"
return representation