You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/unit/development/test_metadata_conversions.py
+5-36Lines changed: 5 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -10,62 +10,32 @@
10
10
11
11
expected_arg_strings=OrderedDict(
12
12
[
13
-
["children", "a list of or a singular dash component, string or number"],
14
13
["optionalArray", "list"],
15
14
["optionalBool", "boolean"],
16
15
["optionalFunc", ""],
17
16
["optionalNumber", "number"],
18
17
["optionalObject", "dict"],
19
18
["optionalString", "string"],
20
19
["optionalSymbol", ""],
21
-
["optionalElement", "dash component"],
22
20
["optionalNode", "a list of or a singular dash component, string or number"],
21
+
["optionalElement", "dash component"],
23
22
["optionalMessage", ""],
24
23
["optionalEnum", "a value equal to: 'News', 'Photos'"],
25
24
["optionalUnion", "string | number"],
26
25
["optionalArrayOf", "list of numbers"],
27
26
["optionalObjectOf", "dict with strings as keys and values of type number"],
28
27
[
29
28
"optionalObjectWithExactAndNestedDescription",
30
-
"\n".join(
31
-
[
32
-
"dict with keys:\n",
33
-
" - color (string; optional)\n",
34
-
" - figure (dict; optional):",
35
-
" Figure is a plotly graph object.\n",
36
-
" `figure` is a dict with keys:\n",
37
-
# noqa: E501
38
-
" - data (list of dicts; optional):",
39
-
" data is a collection of traces.\n",
40
-
" - layout (dict; optional):",
41
-
" layout describes the rest of the figure.\n",
42
-
# noqa: E501
43
-
" - fontSize (number; optional)",
44
-
]
45
-
),
29
+
"dict with keys:\n\n - color (string; optional)\n\n - fontSize (number; optional)\n\n - figure (dict; optional):\n Figure is a plotly graph object.\n\n `figure` is a dict with keys:\n\n - data (list of dicts; optional):\n data is a collection of traces.\n\n - layout (dict; optional):\n layout describes the rest of the figure.",
46
30
],
47
31
[
48
32
"optionalObjectWithShapeAndNestedDescription",
49
-
"\n".join(
50
-
[
51
-
"dict with keys:\n",
52
-
" - color (string; optional)\n",
53
-
" - figure (dict; optional):",
54
-
" Figure is a plotly graph object.\n",
55
-
" `figure` is a dict with keys:\n",
56
-
# noqa: E501
57
-
" - data (list of dicts; optional):",
58
-
" data is a collection of traces.\n",
59
-
" - layout (dict; optional):",
60
-
" layout describes the rest of the figure.\n",
61
-
# noqa: E501
62
-
" - fontSize (number; optional)",
63
-
],
64
-
),
33
+
"dict with keys:\n\n - color (string; optional)\n\n - fontSize (number; optional)\n\n - figure (dict; optional):\n Figure is a plotly graph object.\n\n `figure` is a dict with keys:\n\n - data (list of dicts; optional):\n data is a collection of traces.\n\n - layout (dict; optional):\n layout describes the rest of the figure.",
65
34
],
66
35
["optionalAny", "boolean | number | string | dict | list"],
67
36
["customProp", ""],
68
37
["customArrayProp", "list"],
38
+
["children", "a list of or a singular dash component, string or number"],
0 commit comments