fix: remove unnecessary and wrong asserts
This commit is contained in:
parent
941435892e
commit
b49e527bf6
1 changed files with 0 additions and 2 deletions
|
@ -252,8 +252,6 @@ class Proxy(AbstractResource):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def brn(self) -> BRN:
|
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(
|
return BRN(
|
||||||
group_id=self.origin.group_id,
|
group_id=self.origin.group_id,
|
||||||
product="mirror",
|
product="mirror",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue