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 d0b9ef6 commit 8bd9306Copy full SHA for 8bd9306
lib/galaxy/datatypes/images.py
@@ -20,6 +20,7 @@
20
import numpy as np
21
import png
22
import tifffile
23
+from typing_extensions import Literal
24
25
try:
26
import PIL
@@ -65,7 +66,7 @@ class Image(data.Data):
65
66
edam_data = "data_2968"
67
edam_format = "format_3547"
68
file_ext = ""
- display_behavior = "inline" # Most image formats can be displayed inline in browsers
69
+ display_behavior: Literal["inline", "download"] = "inline" # Most image formats can be displayed inline in browsers
70
71
MetadataElement(
72
name="axes",
0 commit comments