Skip to content

Commit

Permalink
Merge pull request #561 from MetRonnie/fix
Browse files Browse the repository at this point in the history
Fix missing `self`
  • Loading branch information
oliver-sanders authored Feb 26, 2024
2 parents 2141402 + 3de5dab commit 63e5baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/uiserver/authorise.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class CylcAuthorizer(Authorizer):

# This is here just to fix sphinx autodoc warning from traitlets' __init__
# see https://github.com/cylc/cylc-uiserver/pull/560
def __init__(*args, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def is_authorized(self, handler, user, action, resource) -> bool:
Expand Down

0 comments on commit 63e5baa

Please sign in to comment.