Skip to content

Commit

Permalink
chore: Update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan committed Jul 10, 2022
1 parent f7084f3 commit 1b56110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modeltranslation/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def _get_options_for_model(self, model, opts_class=None, **options):

return self._registry[model]

def get_options_for_model(self, model):
def get_options_for_model(self, model) -> TranslationOptions:
"""
Thin wrapper around ``_get_options_for_model`` to preserve the
semantic of throwing exception for models not directly registered.
Expand Down

0 comments on commit 1b56110

Please sign in to comment.