add denylist implementation

This commit is contained in:
Sean Breckenridge 2023-02-21 01:28:53 -08:00
parent ce2a42c45a
commit 2fa0b5cef8
5 changed files with 279 additions and 5 deletions

View file

@ -24,7 +24,7 @@ class LocationProtocol(Protocol):
# converted from namedtuple to a dataclass so datasource field can be added optionally
# if we want, can eventually be converted back to a namedtuple when all datasources are compliant
@dataclass
@dataclass(frozen=True, eq=True)
class Location(LocationProtocol):
lat: float
lon: float