diff --git a/lib/galaxy/exceptions/__init__.py b/lib/galaxy/exceptions/__init__.py index d167a2e1fd0..8deab77bc17 100644 --- a/lib/galaxy/exceptions/__init__.py +++ b/lib/galaxy/exceptions/__init__.py @@ -16,6 +16,8 @@ have nothing to do with the web - keep this in mind when defining exception name and messages. """ +from typing import Optional + from .error_codes import ( error_codes_by_name, ErrorCode,