File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
packages/dask-task-models-library/src/dask_task_models_library/container_tasks Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,15 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
7575
7676class FileUrl (BaseModel ):
7777 url : AnyUrl
78- file_mapping : str | None = Field (
79- default = None ,
80- description = "Local file relpath name (if given), otherwise it takes the url filename" ,
81- )
82- file_mime_type : str | None = Field (
83- default = None , description = "the file MIME type" , pattern = MIME_TYPE_RE
84- )
78+ file_mapping : Annotated [
79+ str | None ,
80+ Field (
81+ description = "Local file relpath name (if given), otherwise it takes the url filename"
82+ ),
83+ ] = None
84+ file_mime_type : Annotated [
85+ str | None , Field (description = "the file MIME type" , pattern = MIME_TYPE_RE )
86+ ] = None
8587
8688 @staticmethod
8789 def _update_json_schema_extra (schema : JsonDict ) -> None :
You can’t perform that action at this time.
0 commit comments