add repr to DateRange

This commit is contained in:
Pablo Martin 2024-06-11 13:26:58 +02:00
parent 9b1298227d
commit cae0475dea

View file

@ -52,3 +52,6 @@ class DateRange:
return False
return True
def __repr__(self) -> str:
return f"""Date Range: {self.start_date.strftime("%Y-%m-%d")} to {self.end_date.strftime("%Y-%m-%d")}."""