mirror of https://github.com/nucypher/nucypher.git
Appease linter.
parent
0c44648c8c
commit
ec1ae9b099
|
@ -128,7 +128,6 @@ class CompoundAccessControlCondition(MultiConditionAccessControl):
|
|||
message="Maximum of {cls.MAX_NUM_CONDITIONS} operands allowed for '{operator}' compound condition",
|
||||
)
|
||||
|
||||
|
||||
class Schema(AccessControlCondition.Schema):
|
||||
condition_type = fields.Str(
|
||||
validate=validate.Equal(ConditionType.COMPOUND.value), required=True
|
||||
|
@ -757,7 +756,6 @@ class ExecutionCallAccessControlCondition(AccessControlCondition):
|
|||
|
||||
super().__init__(condition_type=condition_type, name=name)
|
||||
|
||||
|
||||
def verify(self, *args, **kwargs) -> Tuple[bool, Any]:
|
||||
"""
|
||||
Verifies the condition is met by performing execution call and
|
||||
|
|
|
@ -65,6 +65,7 @@ class JsonApiConditionDict(BaseExecConditionDict):
|
|||
query: NotRequired[str]
|
||||
parameters: NotRequired[Dict]
|
||||
|
||||
|
||||
#
|
||||
# CompoundCondition represents:
|
||||
# {
|
||||
|
|
Loading…
Reference in New Issue