Skip to content

Commit

Permalink
keep 'Any' from inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Bayr committed Oct 21, 2024
1 parent 315f2a1 commit 96a2ae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_printer/test_schema_directives.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import textwrap
from enum import Enum
from typing import List, Optional, Union
from typing import List, Optional, Union, Any
from typing_extensions import Annotated

import strawberry
Expand Down Expand Up @@ -538,7 +538,7 @@ def test_dedupe_multiple_equal_directives():
class MemberRoleRequired(BasePermission):
message = "Keine Rechte"

def has_permission(self, source, info: Info) -> bool:
def has_permission(self, source, info: Info, **kwargs: Any) -> bool:
return True

@strawberry.interface
Expand Down

0 comments on commit 96a2ae5

Please sign in to comment.