fix: remove unnecessary and wrong asserts

This commit is contained in:
Iain Learmonth 2024-11-09 12:41:46 +00:00
parent 941435892e
commit b49e527bf6

View file

@ -252,8 +252,6 @@ class Proxy(AbstractResource):
@property
def brn(self) -> BRN:
assert self.group_id is not None, "group_id should never be None" # nosec: B101
assert self.provider is not None, "provider should never be None" # nosec: B101
return BRN(
group_id=self.origin.group_id,
product="mirror",