Richard Nemeth
6 days ago
No known key found for this signature in database
GPG Key ID: 21C39470DF3DEC39
3 changed files with
3 additions and
3 deletions
-
src/keycloak/authorization/permission.py
-
src/keycloak/authorization/policy.py
-
tests/test_connection.py
|
|
|
@ -118,7 +118,7 @@ class Permission: |
|
|
|
""" |
|
|
|
return self._type |
|
|
|
|
|
|
|
@type.setter |
|
|
|
@type.setter # noqa: A003 |
|
|
|
def type(self, value: str) -> None: |
|
|
|
self._type = value |
|
|
|
|
|
|
|
|
|
|
|
@ -115,7 +115,7 @@ class Policy: |
|
|
|
""" |
|
|
|
return self._type |
|
|
|
|
|
|
|
@type.setter |
|
|
|
@type.setter # noqa: A003 |
|
|
|
def type(self, value: str) -> None: |
|
|
|
self._type = value |
|
|
|
|
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ def test_counter_part() -> None: |
|
|
|
assert sync_sign.parameters == async_sign.parameters |
|
|
|
|
|
|
|
for async_method in async_methods: |
|
|
|
if async_method in ["aclose"]: |
|
|
|
if async_method == "aclose": |
|
|
|
continue |
|
|
|
if async_method[2:].startswith("_"): |
|
|
|
continue |
|
|
|
|