Skip to content

Commit 5af4efc

Browse files
Lint
1 parent 4bb0be6 commit 5af4efc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

oauth2_provider/models.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -563,56 +563,56 @@ class Meta(AbstractIDToken.Meta):
563563

564564

565565
def get_application_model():
566-
""" Return the Application model that is active in this project. """
566+
"""Return the Application model that is active in this project."""
567567
return apps.get_model(oauth2_settings.APPLICATION_MODEL)
568568

569569

570570
def get_grant_model():
571-
""" Return the Grant model that is active in this project. """
571+
"""Return the Grant model that is active in this project."""
572572
return apps.get_model(oauth2_settings.GRANT_MODEL)
573573

574574

575575
def get_access_token_model():
576-
""" Return the AccessToken model that is active in this project. """
576+
"""Return the AccessToken model that is active in this project."""
577577
return apps.get_model(oauth2_settings.ACCESS_TOKEN_MODEL)
578578

579579

580580
def get_id_token_model():
581-
""" Return the AccessToken model that is active in this project. """
581+
"""Return the AccessToken model that is active in this project."""
582582
return apps.get_model(oauth2_settings.ID_TOKEN_MODEL)
583583

584584

585585
def get_refresh_token_model():
586-
""" Return the RefreshToken model that is active in this project. """
586+
"""Return the RefreshToken model that is active in this project."""
587587
return apps.get_model(oauth2_settings.REFRESH_TOKEN_MODEL)
588588

589589

590590
def get_application_admin_class():
591-
""" Return the Application admin class that is active in this project. """
591+
"""Return the Application admin class that is active in this project."""
592592
application_admin_class = oauth2_settings.APPLICATION_ADMIN_CLASS
593593
return application_admin_class
594594

595595

596596
def get_access_token_admin_class():
597-
""" Return the AccessToken admin class that is active in this project. """
597+
"""Return the AccessToken admin class that is active in this project."""
598598
access_token_admin_class = oauth2_settings.ACCESS_TOKEN_ADMIN_CLASS
599599
return access_token_admin_class
600600

601601

602602
def get_grant_admin_class():
603-
""" Return the Grant admin class that is active in this project. """
603+
"""Return the Grant admin class that is active in this project."""
604604
grant_admin_class = oauth2_settings.GRANT_ADMIN_CLASS
605605
return grant_admin_class
606606

607607

608608
def get_id_token_admin_class():
609-
""" Return the IDToken admin class that is active in this project. """
609+
"""Return the IDToken admin class that is active in this project."""
610610
id_token_admin_class = oauth2_settings.ID_TOKEN_ADMIN_CLASS
611611
return id_token_admin_class
612612

613613

614614
def get_refresh_token_admin_class():
615-
""" Return the RefreshToken admin class that is active in this project. """
615+
"""Return the RefreshToken admin class that is active in this project."""
616616
refresh_token_admin_class = oauth2_settings.REFRESH_TOKEN_ADMIN_CLASS
617617
return refresh_token_admin_class
618618

0 commit comments

Comments
 (0)