@@ -51,6 +51,7 @@ def __init__(
51
51
actions : list [object ],
52
52
fallback : object = None ,
53
53
height : OPTIONS .BlockElementHeight = None ,
54
+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
54
55
separator : bool = None ,
55
56
spacing : OPTIONS .Spacing = None ,
56
57
id : str = None ,
@@ -77,6 +78,13 @@ def __init__(
77
78
height (BlockElementHeight, Optional): Specifies the height of the
78
79
element. **_Defaults to None._** Allowed value(s):
79
80
BlockElementHeight.AUTO or BlockElementHeight.STRETCH
81
+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
82
+ horizontal alignment of the ColumnSet. When not specified, the
83
+ value of horizontalAlignment is inherited from the parent
84
+ container. If no parent container has horizontalAlignment set,
85
+ it defaults to Left. Allowed value(s):
86
+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
87
+ HorizontalAlignment.RIGHT
80
88
separator (bool, Optional): When true, draw a separating line at
81
89
the top of the element. **_Defaults to None._**
82
90
spacing (Spacing, Optional): Controls the amount of spacing
@@ -142,6 +150,12 @@ def __init__(
142
150
optional = True ,
143
151
)
144
152
153
+ validate_input (
154
+ horizontalAlignment ,
155
+ OPTIONS .HorizontalAlignment ,
156
+ optional = True ,
157
+ )
158
+
145
159
check_type (
146
160
separator ,
147
161
bool ,
@@ -177,6 +191,7 @@ def __init__(
177
191
self .actions = actions
178
192
self .fallback = fallback
179
193
self .height = height
194
+ self .horizontalAlignment = horizontalAlignment
180
195
self .separator = separator
181
196
self .spacing = spacing
182
197
self .id = id
@@ -192,6 +207,7 @@ def __init__(
192
207
"type" ,
193
208
* ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
194
209
"height" ,
210
+ "horizontalAlignment" ,
195
211
"separator" ,
196
212
"spacing" ,
197
213
"id" ,
@@ -221,6 +237,7 @@ def __init__(
221
237
minHeight : str = None ,
222
238
fallback : object = None ,
223
239
height : OPTIONS .BlockElementHeight = None ,
240
+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
224
241
separator : bool = None ,
225
242
spacing : OPTIONS .Spacing = None ,
226
243
id : str = None ,
@@ -275,6 +292,13 @@ def __init__(
275
292
height (BlockElementHeight, Optional): Specifies the height of the
276
293
element. **_Defaults to None._** Allowed value(s):
277
294
BlockElementHeight.AUTO or BlockElementHeight.STRETCH
295
+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
296
+ horizontal alignment of the ColumnSet. When not specified, the
297
+ value of horizontalAlignment is inherited from the parent
298
+ container. If no parent container has horizontalAlignment set,
299
+ it defaults to Left. Allowed value(s):
300
+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
301
+ HorizontalAlignment.RIGHT
278
302
separator (bool, Optional): When true, draw a separating line at
279
303
the top of the element. **_Defaults to None._**
280
304
spacing (Spacing, Optional): Controls the amount of spacing
@@ -399,6 +423,12 @@ def __init__(
399
423
optional = True ,
400
424
)
401
425
426
+ validate_input (
427
+ horizontalAlignment ,
428
+ OPTIONS .HorizontalAlignment ,
429
+ optional = True ,
430
+ )
431
+
402
432
check_type (
403
433
separator ,
404
434
bool ,
@@ -440,6 +470,7 @@ def __init__(
440
470
self .minHeight = minHeight
441
471
self .fallback = fallback
442
472
self .height = height
473
+ self .horizontalAlignment = horizontalAlignment
443
474
self .separator = separator
444
475
self .spacing = spacing
445
476
self .id = id
@@ -547,6 +578,13 @@ def __init__(
547
578
height (BlockElementHeight, Optional): Specifies the height of the
548
579
element. **_Defaults to None._** Allowed value(s):
549
580
BlockElementHeight.AUTO or BlockElementHeight.STRETCH
581
+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
582
+ horizontal alignment of the ColumnSet. When not specified, the
583
+ value of horizontalAlignment is inherited from the parent
584
+ container. If no parent container has horizontalAlignment set,
585
+ it defaults to Left. Allowed value(s):
586
+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
587
+ HorizontalAlignment.RIGHT
550
588
separator (bool, Optional): When true, draw a separating line at
551
589
the top of the element. **_Defaults to None._**
552
590
spacing (Spacing, Optional): Controls the amount of spacing
@@ -702,6 +740,7 @@ def __init__(
702
740
"horizontalAlignment" ,
703
741
* ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
704
742
"height" ,
743
+ "horizontalAlignment" ,
705
744
"separator" ,
706
745
"spacing" ,
707
746
"id" ,
@@ -726,6 +765,7 @@ def __init__(
726
765
backgroundImage : object = None ,
727
766
bleed : bool = None ,
728
767
fallback : object = None ,
768
+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
729
769
minHeight : str = None ,
730
770
separator : bool = None ,
731
771
spacing : OPTIONS .Spacing = None ,
@@ -761,6 +801,13 @@ def __init__(
761
801
Note: "drop" causes this element to be dropped immediately
762
802
when unknown elements are encountered. The unknown element
763
803
doesn't bubble up any higher.
804
+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
805
+ horizontal alignment of the ColumnSet. When not specified, the
806
+ value of horizontalAlignment is inherited from the parent
807
+ container. If no parent container has horizontalAlignment set,
808
+ it defaults to Left. Allowed value(s):
809
+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
810
+ HorizontalAlignment.RIGHT
764
811
minHeight (str, Optional): Specifies the minimum height of the
765
812
container in pixels, like "80px". **_Defaults to None._**
766
813
separator (bool, Optional): When true, draw a separating line at
@@ -861,6 +908,12 @@ def __init__(
861
908
optional = True ,
862
909
)
863
910
911
+ validate_input (
912
+ horizontalAlignment ,
913
+ OPTIONS .HorizontalAlignment ,
914
+ optional = True ,
915
+ )
916
+
864
917
check_type (
865
918
minHeight ,
866
919
str ,
@@ -934,6 +987,7 @@ def __init__(
934
987
self .backgroundImage = backgroundImage
935
988
self .bleed = bleed
936
989
self .fallback = fallback
990
+ self .horizontalAlignment = horizontalAlignment
937
991
self .minHeight = minHeight
938
992
self .separator = separator
939
993
self .spacing = spacing
@@ -965,6 +1019,7 @@ def __init__(
965
1019
),
966
1020
"bleed" ,
967
1021
* ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
1022
+ "horizontalAlignment" ,
968
1023
"minHeight" ,
969
1024
"separator" ,
970
1025
"spacing" ,
@@ -1197,6 +1252,7 @@ def __init__(
1197
1252
imageSize : OPTIONS .ImageSize = OPTIONS .ImageSize .MEDIUM ,
1198
1253
fallback : object = None ,
1199
1254
height : OPTIONS .BlockElementHeight = None ,
1255
+ horizontalAlignment : OPTIONS .HorizontalAlignment = None ,
1200
1256
separator : bool = None ,
1201
1257
spacing : OPTIONS .Spacing = None ,
1202
1258
id : str = None ,
@@ -1230,6 +1286,13 @@ def __init__(
1230
1286
height (BlockElementHeight, Optional): Specifies the height of the
1231
1287
element. **_Defaults to None._** Allowed value(s):
1232
1288
BlockElementHeight.AUTO or BlockElementHeight.STRETCH
1289
+ horizontalAlignment (HorizontalAlignment, Optional): Controls the
1290
+ horizontal alignment of the ColumnSet. When not specified, the
1291
+ value of horizontalAlignment is inherited from the parent
1292
+ container. If no parent container has horizontalAlignment set,
1293
+ it defaults to Left. Allowed value(s):
1294
+ HorizontalAlignment.LEFT, HorizontalAlignment.CENTER, or
1295
+ HorizontalAlignment.RIGHT
1233
1296
separator (bool, Optional): When true, draw a separating line at
1234
1297
the top of the element. **_Defaults to None._**
1235
1298
spacing (Spacing, Optional): Controls the amount of spacing
@@ -1296,6 +1359,12 @@ def __init__(
1296
1359
optional = True ,
1297
1360
)
1298
1361
1362
+ validate_input (
1363
+ horizontalAlignment ,
1364
+ OPTIONS .HorizontalAlignment ,
1365
+ optional = True ,
1366
+ )
1367
+
1299
1368
check_type (
1300
1369
separator ,
1301
1370
bool ,
@@ -1332,6 +1401,7 @@ def __init__(
1332
1401
self .imageSize = imageSize
1333
1402
self .fallback = fallback
1334
1403
self .height = height
1404
+ self .horizontalAlignment = horizontalAlignment
1335
1405
self .separator = separator
1336
1406
self .spacing = spacing
1337
1407
self .id = id
@@ -1348,6 +1418,7 @@ def __init__(
1348
1418
"imageSize" ,
1349
1419
* ([] if hasattr (fallback , "to_dict" ) else ["fallback" ]),
1350
1420
"height" ,
1421
+ "horizontalAlignment" ,
1351
1422
"separator" ,
1352
1423
"spacing" ,
1353
1424
"id" ,
0 commit comments