diff --git a/foca/models/config.py b/foca/models/config.py index 73c1afb..a0e80e6 100644 --- a/foca/models/config.py +++ b/foca/models/config.py @@ -12,7 +12,6 @@ Dict, List, Optional, - Self, Tuple, Type, Union, @@ -26,6 +25,7 @@ model_validator, ) from pymongo import collection, database +from typing_extensions import Self from foca.security.access_control.constants import ( ACCESS_CONTROL_BASE_PATH, diff --git a/requirements_dev.txt b/requirements_dev.txt index d79bf82..7e66e87 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -10,3 +10,4 @@ types-PyYAML types-requests types-setuptools types-urllib3 +typing_extensions>=4.11