add denylist implementation
This commit is contained in:
parent
ce2a42c45a
commit
2fa0b5cef8
5 changed files with 279 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue