|
28 | 28 | "optionalSignature(shape)",
|
29 | 29 | "\n".join(
|
30 | 30 | [
|
31 |
| - "dict with keys: \n", |
32 |
| - " - checked (boolean; optional) \n", |
33 |
| - " - children (a list of or a singular dash component, string or number; optional) \n", |
| 31 | + "dict with keys:\n", |
| 32 | + " - checked (boolean; optional)\n", |
| 33 | + " - children (a list of or a singular dash component, string or number; optional)\n", |
34 | 34 | " - customData (bool | number | str | dict | list; required):\n"
|
35 |
| - " A test description. \n", |
36 |
| - " - disabled (boolean; optional) \n", |
37 |
| - " - label (string; optional) \n", |
| 35 | + " A test description.\n", |
| 36 | + " - disabled (boolean; optional)\n", |
| 37 | + " - label (string; optional)\n", |
38 | 38 | " - primaryText (string; required):\n"
|
39 |
| - " Another test description. \n", |
40 |
| - " - secondaryText (string; optional) \n", |
41 |
| - " - style (dict; optional) \n", |
| 39 | + " Another test description.\n", |
| 40 | + " - secondaryText (string; optional)\n", |
| 41 | + " - style (dict; optional)\n", |
42 | 42 | " - value (bool | number | str | dict | list; required)",
|
43 | 43 | ]
|
44 | 44 | ),
|
|
47 | 47 | "requiredNested",
|
48 | 48 | "\n".join(
|
49 | 49 | [
|
50 |
| - "dict with keys: \n", |
51 |
| - " - customData (dict; required) \n\n" |
52 |
| - " `customData` is a dict with keys: \n", |
53 |
| - " - checked (boolean; optional) \n", |
54 |
| - " - children (a list of or a singular dash component, string or number; optional) \n", |
55 |
| - " - customData (bool | number | str | dict | list; required) \n", |
56 |
| - " - disabled (boolean; optional) \n", |
57 |
| - " - label (string; optional) \n", |
58 |
| - " - primaryText (string; required) \n", |
59 |
| - " - secondaryText (string; optional) \n", |
60 |
| - " - style (dict; optional) \n", |
61 |
| - " - value (bool | number | str | dict | list; required) \n", |
| 50 | + "dict with keys:\n", |
| 51 | + " - customData (dict; required)\n\n" |
| 52 | + " `customData` is a dict with keys:\n", |
| 53 | + " - checked (boolean; optional)\n", |
| 54 | + " - children (a list of or a singular dash component, string or number; optional)\n", |
| 55 | + " - customData (bool | number | str | dict | list; required)\n", |
| 56 | + " - disabled (boolean; optional)\n", |
| 57 | + " - label (string; optional)\n", |
| 58 | + " - primaryText (string; required)\n", |
| 59 | + " - secondaryText (string; optional)\n", |
| 60 | + " - style (dict; optional)\n", |
| 61 | + " - value (bool | number | str | dict | list; required)\n", |
62 | 62 | " - value (bool | number | str | dict | list; required)",
|
63 | 63 | ]
|
64 | 64 | ),
|
|
76 | 76 | "- optionalArray (list; optional):",
|
77 | 77 | " An array test with a particularly long description that covers",
|
78 | 78 | " several lines. It includes the newline character and should span",
|
79 |
| - " 3 lines in total. ", |
| 79 | + " 3 lines in total.", |
80 | 80 | "",
|
81 | 81 | "- optionalBoolean (boolean; default False):",
|
82 |
| - " A boolean test. ", |
| 82 | + " A boolean test.", |
83 | 83 | "",
|
84 | 84 | "- optionalNode (a list of or a singular dash component, string or number; optional):",
|
85 |
| - " A node test. ", |
| 85 | + " A node test.", |
86 | 86 | "",
|
87 | 87 | "- optionalSignature(shape) (dict; optional):",
|
88 |
| - " This is a test of an object's shape. ", |
| 88 | + " This is a test of an object's shape.", |
89 | 89 | "",
|
90 |
| - " `optionalSignature(shape)` is a dict with keys: ", |
| 90 | + " `optionalSignature(shape)` is a dict with keys:", |
91 | 91 | "",
|
92 |
| - " - checked (boolean; optional) ", |
| 92 | + " - checked (boolean; optional)", |
93 | 93 | "",
|
94 |
| - " - children (a list of or a singular dash component, string or number; optional) ", |
| 94 | + " - children (a list of or a singular dash component, string or number; optional)", |
95 | 95 | "",
|
96 | 96 | " - customData (bool | number | str | dict | list; required):",
|
97 |
| - " A test description. ", |
| 97 | + " A test description.", |
98 | 98 | "",
|
99 |
| - " - disabled (boolean; optional) ", |
| 99 | + " - disabled (boolean; optional)", |
100 | 100 | "",
|
101 |
| - " - label (string; optional) ", |
| 101 | + " - label (string; optional)", |
102 | 102 | "",
|
103 | 103 | " - primaryText (string; required):",
|
104 |
| - " Another test description. ", |
| 104 | + " Another test description.", |
105 | 105 | "",
|
106 |
| - " - secondaryText (string; optional) ", |
| 106 | + " - secondaryText (string; optional)", |
107 | 107 | "",
|
108 |
| - " - style (dict; optional) ", |
| 108 | + " - style (dict; optional)", |
109 | 109 | "",
|
110 | 110 | " - value (bool | number | str | dict | list; required)",
|
111 | 111 | "",
|
112 | 112 | "- optionalString (string; default ''):",
|
113 |
| - " A string that isn't required. ", |
| 113 | + " A string that isn't required.", |
114 | 114 | "",
|
115 |
| - "- requiredNested (dict; required) ", |
| 115 | + "- requiredNested (dict; required)", |
116 | 116 | "",
|
117 |
| - " `requiredNested` is a dict with keys: ", |
| 117 | + " `requiredNested` is a dict with keys:", |
118 | 118 | "",
|
119 |
| - " - customData (dict; required) ", |
| 119 | + " - customData (dict; required)", |
120 | 120 | "",
|
121 |
| - " `customData` is a dict with keys: ", |
| 121 | + " `customData` is a dict with keys:", |
122 | 122 | "",
|
123 |
| - " - checked (boolean; optional) ", |
| 123 | + " - checked (boolean; optional)", |
124 | 124 | "",
|
125 |
| - " - children (a list of or a singular dash component, string or number; optional) ", |
| 125 | + " - children (a list of or a singular dash component, string or number; optional)", |
126 | 126 | "",
|
127 |
| - " - customData (bool | number | str | dict | list; required) ", |
| 127 | + " - customData (bool | number | str | dict | list; required)", |
128 | 128 | "",
|
129 |
| - " - disabled (boolean; optional) ", |
| 129 | + " - disabled (boolean; optional)", |
130 | 130 | "",
|
131 |
| - " - label (string; optional) ", |
| 131 | + " - label (string; optional)", |
132 | 132 | "",
|
133 |
| - " - primaryText (string; required) ", |
| 133 | + " - primaryText (string; required)", |
134 | 134 | "",
|
135 |
| - " - secondaryText (string; optional) ", |
| 135 | + " - secondaryText (string; optional)", |
136 | 136 | "",
|
137 |
| - " - style (dict; optional) ", |
| 137 | + " - style (dict; optional)", |
138 | 138 | "",
|
139 |
| - " - value (bool | number | str | dict | list; required) ", |
| 139 | + " - value (bool | number | str | dict | list; required)", |
140 | 140 | "",
|
141 | 141 | " - value (bool | number | str | dict | list; required)",
|
142 | 142 | "",
|
143 | 143 | "- requiredString (string; required):",
|
144 |
| - " A required string. ", |
| 144 | + " A required string.", |
145 | 145 | "",
|
146 | 146 | "- requiredUnion (string | number; required)",
|
147 | 147 | ]
|
|
0 commit comments