Skip to content

Commit

Permalink
Fixing static checks for FabAirflowSecurityManagerOverride (#33416)
Browse files Browse the repository at this point in the history
Fixing static checks. FabAirflowSecurityManagerOverrideDb and FabAirflowSecurityManagerOverrideOauth were failing pydocstyle rule D205
  • Loading branch information
alexbegg authored Aug 15, 2023
1 parent 3766ab0 commit cc360b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit cc360b7

Please sign in to comment.