13
13
from ..core .serialization import convert_and_respect_annotation_metadata
14
14
from ..types .component import Component
15
15
from ..types .configure_prop_response import ConfigurePropResponse
16
- from ..types .configured_props import ConfiguredProps
17
16
from ..types .get_component_response import GetComponentResponse
18
17
from ..types .get_components_response import GetComponentsResponse
19
18
from ..types .reload_props_response import ReloadPropsResponse
@@ -156,7 +155,7 @@ def configure_prop(
156
155
external_user_id : str ,
157
156
prop_name : str ,
158
157
blocking : typing .Optional [bool ] = OMIT ,
159
- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
158
+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
160
159
dynamic_props_id : typing .Optional [str ] = OMIT ,
161
160
page : typing .Optional [float ] = OMIT ,
162
161
prev_context : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
@@ -180,7 +179,8 @@ def configure_prop(
180
179
blocking : typing.Optional[bool]
181
180
Whether this operation should block until completion
182
181
183
- configured_props : typing.Optional[ConfiguredProps]
182
+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
183
+ The configured properties for the component
184
184
185
185
dynamic_props_id : typing.Optional[str]
186
186
The ID for dynamic props
@@ -210,9 +210,7 @@ def configure_prop(
210
210
"external_user_id" : external_user_id ,
211
211
"prop_name" : prop_name ,
212
212
"blocking" : blocking ,
213
- "configured_props" : convert_and_respect_annotation_metadata (
214
- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
215
- ),
213
+ "configured_props" : configured_props ,
216
214
"dynamic_props_id" : dynamic_props_id ,
217
215
"page" : page ,
218
216
"prev_context" : prev_context ,
@@ -245,7 +243,7 @@ def reload_props(
245
243
id : str ,
246
244
external_user_id : str ,
247
245
blocking : typing .Optional [bool ] = OMIT ,
248
- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
246
+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
249
247
dynamic_props_id : typing .Optional [str ] = OMIT ,
250
248
request_options : typing .Optional [RequestOptions ] = None ,
251
249
) -> HttpResponse [ReloadPropsResponse ]:
@@ -263,7 +261,8 @@ def reload_props(
263
261
blocking : typing.Optional[bool]
264
262
Whether this operation should block until completion
265
263
266
- configured_props : typing.Optional[ConfiguredProps]
264
+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
265
+ The configured properties for the component
267
266
268
267
dynamic_props_id : typing.Optional[str]
269
268
The ID for dynamic props
@@ -283,9 +282,7 @@ def reload_props(
283
282
"id" : id ,
284
283
"external_user_id" : external_user_id ,
285
284
"blocking" : blocking ,
286
- "configured_props" : convert_and_respect_annotation_metadata (
287
- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
288
- ),
285
+ "configured_props" : configured_props ,
289
286
"dynamic_props_id" : dynamic_props_id ,
290
287
},
291
288
headers = {
@@ -314,7 +311,7 @@ def run(
314
311
* ,
315
312
id : str ,
316
313
external_user_id : str ,
317
- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
314
+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
318
315
dynamic_props_id : typing .Optional [str ] = OMIT ,
319
316
stash_id : typing .Optional [RunActionOptsStashId ] = OMIT ,
320
317
request_options : typing .Optional [RequestOptions ] = None ,
@@ -330,7 +327,8 @@ def run(
330
327
external_user_id : str
331
328
The external user ID
332
329
333
- configured_props : typing.Optional[ConfiguredProps]
330
+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
331
+ The configured properties for the action
334
332
335
333
dynamic_props_id : typing.Optional[str]
336
334
The ID for dynamic props
@@ -351,9 +349,7 @@ def run(
351
349
json = {
352
350
"id" : id ,
353
351
"external_user_id" : external_user_id ,
354
- "configured_props" : convert_and_respect_annotation_metadata (
355
- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
356
- ),
352
+ "configured_props" : configured_props ,
357
353
"dynamic_props_id" : dynamic_props_id ,
358
354
"stash_id" : convert_and_respect_annotation_metadata (
359
355
object_ = stash_id , annotation = RunActionOptsStashId , direction = "write"
@@ -516,7 +512,7 @@ async def configure_prop(
516
512
external_user_id : str ,
517
513
prop_name : str ,
518
514
blocking : typing .Optional [bool ] = OMIT ,
519
- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
515
+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
520
516
dynamic_props_id : typing .Optional [str ] = OMIT ,
521
517
page : typing .Optional [float ] = OMIT ,
522
518
prev_context : typing .Optional [typing .Dict [str , typing .Optional [typing .Any ]]] = OMIT ,
@@ -540,7 +536,8 @@ async def configure_prop(
540
536
blocking : typing.Optional[bool]
541
537
Whether this operation should block until completion
542
538
543
- configured_props : typing.Optional[ConfiguredProps]
539
+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
540
+ The configured properties for the component
544
541
545
542
dynamic_props_id : typing.Optional[str]
546
543
The ID for dynamic props
@@ -570,9 +567,7 @@ async def configure_prop(
570
567
"external_user_id" : external_user_id ,
571
568
"prop_name" : prop_name ,
572
569
"blocking" : blocking ,
573
- "configured_props" : convert_and_respect_annotation_metadata (
574
- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
575
- ),
570
+ "configured_props" : configured_props ,
576
571
"dynamic_props_id" : dynamic_props_id ,
577
572
"page" : page ,
578
573
"prev_context" : prev_context ,
@@ -605,7 +600,7 @@ async def reload_props(
605
600
id : str ,
606
601
external_user_id : str ,
607
602
blocking : typing .Optional [bool ] = OMIT ,
608
- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
603
+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
609
604
dynamic_props_id : typing .Optional [str ] = OMIT ,
610
605
request_options : typing .Optional [RequestOptions ] = None ,
611
606
) -> AsyncHttpResponse [ReloadPropsResponse ]:
@@ -623,7 +618,8 @@ async def reload_props(
623
618
blocking : typing.Optional[bool]
624
619
Whether this operation should block until completion
625
620
626
- configured_props : typing.Optional[ConfiguredProps]
621
+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
622
+ The configured properties for the component
627
623
628
624
dynamic_props_id : typing.Optional[str]
629
625
The ID for dynamic props
@@ -643,9 +639,7 @@ async def reload_props(
643
639
"id" : id ,
644
640
"external_user_id" : external_user_id ,
645
641
"blocking" : blocking ,
646
- "configured_props" : convert_and_respect_annotation_metadata (
647
- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
648
- ),
642
+ "configured_props" : configured_props ,
649
643
"dynamic_props_id" : dynamic_props_id ,
650
644
},
651
645
headers = {
@@ -674,7 +668,7 @@ async def run(
674
668
* ,
675
669
id : str ,
676
670
external_user_id : str ,
677
- configured_props : typing .Optional [ConfiguredProps ] = OMIT ,
671
+ configured_props : typing .Optional [typing . Dict [ str , typing . Optional [ typing . Any ]] ] = OMIT ,
678
672
dynamic_props_id : typing .Optional [str ] = OMIT ,
679
673
stash_id : typing .Optional [RunActionOptsStashId ] = OMIT ,
680
674
request_options : typing .Optional [RequestOptions ] = None ,
@@ -690,7 +684,8 @@ async def run(
690
684
external_user_id : str
691
685
The external user ID
692
686
693
- configured_props : typing.Optional[ConfiguredProps]
687
+ configured_props : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
688
+ The configured properties for the action
694
689
695
690
dynamic_props_id : typing.Optional[str]
696
691
The ID for dynamic props
@@ -711,9 +706,7 @@ async def run(
711
706
json = {
712
707
"id" : id ,
713
708
"external_user_id" : external_user_id ,
714
- "configured_props" : convert_and_respect_annotation_metadata (
715
- object_ = configured_props , annotation = ConfiguredProps , direction = "write"
716
- ),
709
+ "configured_props" : configured_props ,
717
710
"dynamic_props_id" : dynamic_props_id ,
718
711
"stash_id" : convert_and_respect_annotation_metadata (
719
712
object_ = stash_id , annotation = RunActionOptsStashId , direction = "write"
0 commit comments