diff --git a/src/accounting/utils/random_id.py b/src/accounting/utils/random_id.py index 8b18cf6..31421fb 100644 --- a/src/accounting/utils/random_id.py +++ b/src/accounting/utils/random_id.py @@ -25,7 +25,7 @@ from typing import Type from accounting import db -def new_id(cls: Type): +def new_id(cls: Type[db.Model]): """Returns a new random ID for the data model. :param cls: The data model.