File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
lib/galaxy/webapps/galaxy/api Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1818from typing_extensions import Annotated
1919
2020from galaxy .managers .context import ProvidesUserContext
21+ from galaxy .model import User
2122from galaxy .schema .fields import DecodedDatabaseIdField
2223from galaxy .schema .schema import (
2324 SetSlugPayload ,
3839from galaxy .webapps .galaxy .api import (
3940 depends ,
4041 DependsOnTrans ,
42+ DependsOnUser ,
4143 IndexQueryTag ,
4244 Router ,
4345 search_query_param ,
@@ -254,6 +256,7 @@ def create(
254256 None , title = "Import ID" , description = "The encoded database identifier of the Visualization to import."
255257 ),
256258 trans : ProvidesUserContext = DependsOnTrans ,
259+ user : User = DependsOnUser ,
257260 ) -> VisualizationCreateResponse :
258261 """
259262 Creates a new visualization using the given payload and does not require the import_id field.
You can’t perform that action at this time.
0 commit comments