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

Fixing static checks for FabAirflowSecurityManagerOverride #33416

Merged
merged 2 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions airflow/auth/managers/fab/security_manager/modules/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@

class FabAirflowSecurityManagerOverrideDb:
"""
FabAirflowSecurityManagerOverride is split into multiple classes to avoid having one massive class.

This class contains all methods in
airflow.auth.managers.fab.security_manager.override.FabAirflowSecurityManagerOverride related to the
database.

FabAirflowSecurityManagerOverride is split into multiple classes to avoid having one massive class.

:param appbuilder: The appbuilder.
"""

""" Models """
# Models
role_model = Role
permission_model = Permission
action_model = Action
Expand Down
4 changes: 2 additions & 2 deletions airflow/auth/managers/fab/security_manager/modules/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@

class FabAirflowSecurityManagerOverrideOauth:
"""
FabAirflowSecurityManagerOverride is split into multiple classes to avoid having one massive class.

This class contains all methods in
airflow.auth.managers.fab.security_manager.override.FabAirflowSecurityManagerOverride related to the
oauth authentication.

FabAirflowSecurityManagerOverride is split into multiple classes to avoid having one massive class.
"""

def get_oauth_user_info(self, provider, resp):
Expand Down