Appease linter.

pull/3563/head
derekpierre 2024-10-15 08:54:01 -04:00
parent 0c44648c8c
commit ec1ae9b099
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -65,6 +65,7 @@ class JsonApiConditionDict(BaseExecConditionDict):
query: NotRequired[str]
parameters: NotRequired[Dict]
#
# CompoundCondition represents:
# {