We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 322326e commit bba92a8Copy full SHA for bba92a8
lib/galaxy/webapps/galaxy/api/__init__.py
@@ -41,7 +41,10 @@
41
from fastapi_utils.inferring_router import InferringRouter
42
from pydantic import ValidationError
43
from pydantic.main import BaseModel
44
-from routes import request_config
+from routes import (
45
+ Mapper,
46
+ request_config,
47
+)
48
from starlette.datastructures import Headers
49
from starlette.routing import (
50
Match,
@@ -307,7 +310,7 @@ def get_current_history_from_session(galaxy_session: Optional[model.GalaxySessio
307
310
return None
308
311
309
312
-def fix_url_for(mapper, galaxy_request: GalaxyASGIRequest):
313
+def fix_url_for(mapper: Mapper, galaxy_request: GalaxyASGIRequest):
314
rc = request_config()
315
environ = galaxy_request.environ
316
rc.mapper = mapper
0 commit comments