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/metadata_test.py
+6-6
Original file line number
Diff line number
Diff line change
@@ -12,28 +12,28 @@ class Table(Component):
12
12
- children (a list of or a singular dash component, string or number; optional)
13
13
- optionalArray (list; optional): Description of optionalArray
14
14
- optionalBool (boolean; optional)
15
-
- optionalNumber (number; optional)
15
+
- optionalNumber (number; default 42)
16
16
- optionalObject (dict; optional)
17
-
- optionalString (string; optional)
17
+
- optionalString (string; default 'hello world')
18
18
- optionalNode (a list of or a singular dash component, string or number; optional)
19
19
- optionalElement (dash component; optional)
20
20
- optionalEnum (a value equal to: 'News', 'Photos'; optional)
21
21
- optionalUnion (string | number; optional)
22
22
- optionalArrayOf (list of numbers; optional)
23
23
- optionalObjectOf (dict with strings as keys and values of type number; optional)
24
-
- optionalObjectWithExactAndNestedDescription (optional): . optionalObjectWithExactAndNestedDescription has the following type: dict containing keys 'color', 'fontSize', 'figure'.
24
+
- optionalObjectWithExactAndNestedDescription (dict; optional): optionalObjectWithExactAndNestedDescription has the following type: dict containing keys 'color', 'fontSize', 'figure'.
25
25
Those keys have the following types:
26
26
- color (string; optional)
27
27
- fontSize (number; optional)
28
-
- figure (optional): Figure is a plotly graph object. figure has the following type: dict containing keys 'data', 'layout'.
28
+
- figure (dict; optional): Figure is a plotly graph object. figure has the following type: dict containing keys 'data', 'layout'.
29
29
Those keys have the following types:
30
30
- data (list of dicts; optional): data is a collection of traces
31
31
- layout (dict; optional): layout describes the rest of the figure
32
-
- optionalObjectWithShapeAndNestedDescription (optional): . optionalObjectWithShapeAndNestedDescription has the following type: dict containing keys 'color', 'fontSize', 'figure'.
32
+
- optionalObjectWithShapeAndNestedDescription (dict; optional): optionalObjectWithShapeAndNestedDescription has the following type: dict containing keys 'color', 'fontSize', 'figure'.
33
33
Those keys have the following types:
34
34
- color (string; optional)
35
35
- fontSize (number; optional)
36
-
- figure (optional): Figure is a plotly graph object. figure has the following type: dict containing keys 'data', 'layout'.
36
+
- figure (dict; optional): Figure is a plotly graph object. figure has the following type: dict containing keys 'data', 'layout'.
37
37
Those keys have the following types:
38
38
- data (list of dicts; optional): data is a collection of traces
39
39
- layout (dict; optional): layout describes the rest of the figure
0 commit comments