Skip to content

Commit

Permalink
Fix sphinx autodoc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Feb 26, 2024
1 parent 7c53074 commit aa0a46f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cylc/uiserver/authorise.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ class CylcAuthorizer(Authorizer):
"""

# This is here just to fix sphinx autodoc warning from traitlets' __init__
def __init__(*args, **kwargs):
super().__init__(*args, **kwargs)

Check warning on line 81 in cylc/uiserver/authorise.py

View check run for this annotation

Codecov / codecov/patch

cylc/uiserver/authorise.py#L81

Added line #L81 was not covered by tests

def is_authorized(self, handler, user, action, resource) -> bool:
"""Allow a user to access their own server.
Expand Down

0 comments on commit aa0a46f

Please sign in to comment.