Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sphinx autodoc warning #560

Merged
merged 2 commits into from
Feb 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@

"""

# This is here just to fix sphinx autodoc warning from traitlets' __init__
MetRonnie marked this conversation as resolved.
Show resolved Hide resolved
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