add repr to DateRange
This commit is contained in:
parent
9b1298227d
commit
cae0475dea
1 changed files with 3 additions and 0 deletions
|
|
@ -52,3 +52,6 @@ class DateRange:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
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")}."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue