diff --git a/dojo/importers/auto_create_context.py b/dojo/importers/auto_create_context.py index fae38a99dcc..828513dda07 100644 --- a/dojo/importers/auto_create_context.py +++ b/dojo/importers/auto_create_context.py @@ -292,7 +292,7 @@ def get_or_create_engagement( auto_create_context: bool = False, deduplication_on_engagement: bool = False, source_code_management_uri: str | None = None, - target_end: Optional[datetime] = None, + target_end: datetime | None = None, **kwargs: dict, ) -> Engagement: """Fetches an engagement by name or ID if one already exists."""