Updated to pytimeparse2, added tests for custom Click param types

This commit is contained in:
Rhet Turnbull
2022-05-05 07:00:52 -07:00
parent fa991b8b48
commit 3ed658a7d0
7 changed files with 315 additions and 58 deletions

View File

@@ -54,3 +54,8 @@ class Timezone:
def __repr__(self):
return self.name
def __eq__(self, other):
if isinstance(other, Timezone):
return self.timezone == other.timezone
return False