Skip to content

Commit

Permalink
add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jason20c authored and grizz committed Oct 5, 2024
1 parent 95aebfb commit 1f65523
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/django_grainy/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ def set_namespace_base(cls, value: Namespace):
raise TypeError("`value` needs to be a Namespace instance")
cls.namespace_base = value

# TODO: type hint
@classmethod
def set_parent(cls, parent):
def set_parent(cls, parent: Model):
cls.parent = parent


Expand Down

0 comments on commit 1f65523

Please sign in to comment.