superposition-sdk 0.88.0__py3-none-any.whl → 0.89.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of superposition-sdk might be problematic. Click here for more details.

@@ -8971,6 +8971,16 @@ LIST_EXPERIMENT_INPUT = Schema.collection(
8971
8971
  ],
8972
8972
  },
8973
8973
 
8974
+ "global_experiments_only": {
8975
+ "target": BOOLEAN,
8976
+ "index": 14,
8977
+ "traits": [
8978
+ Trait.new(id=ShapeID("smithy.api#notProperty")),
8979
+ Trait.new(id=ShapeID("smithy.api#httpQuery"), value="global_experiments_only"),
8980
+
8981
+ ],
8982
+ },
8983
+
8974
8984
  }
8975
8985
  )
8976
8986
 
@@ -410,7 +410,8 @@ class Superposition:
410
410
 
411
411
  async def applicable_variants(self, input: ApplicableVariantsInput, plugins: list[Plugin] | None = None) -> ApplicableVariantsOutput:
412
412
  """
413
- Invokes the ApplicableVariants operation.
413
+ Determines which experiment variants are applicable to a given context, used for
414
+ experiment evaluation and variant selection.
414
415
 
415
416
  :param input: The operation's input.
416
417
 
@@ -436,7 +437,8 @@ class Superposition:
436
437
 
437
438
  async def bulk_operation(self, input: BulkOperationInput, plugins: list[Plugin] | None = None) -> BulkOperationOutput:
438
439
  """
439
- Invokes the BulkOperation operation.
440
+ Executes multiple context operations (PUT, REPLACE, DELETE, MOVE) in a single
441
+ atomic transaction for efficient batch processing.
440
442
 
441
443
  :param input: The operation's input.
442
444
 
@@ -462,7 +464,8 @@ class Superposition:
462
464
 
463
465
  async def conclude_experiment(self, input: ConcludeExperimentInput, plugins: list[Plugin] | None = None) -> ConcludeExperimentOutput:
464
466
  """
465
- Invokes the ConcludeExperiment operation.
467
+ Concludes an inprogress experiment by selecting a winning variant and
468
+ transitioning the experiment to a concluded state.
466
469
 
467
470
  :param input: The operation's input.
468
471
 
@@ -488,7 +491,8 @@ class Superposition:
488
491
 
489
492
  async def create_context(self, input: CreateContextInput, plugins: list[Plugin] | None = None) -> CreateContextOutput:
490
493
  """
491
- Invokes the CreateContext operation.
494
+ Creates a new context with specified conditions and overrides. Contexts define
495
+ conditional rules for config management.
492
496
 
493
497
  :param input: The operation's input.
494
498
 
@@ -514,7 +518,9 @@ class Superposition:
514
518
 
515
519
  async def create_default_config(self, input: CreateDefaultConfigInput, plugins: list[Plugin] | None = None) -> CreateDefaultConfigOutput:
516
520
  """
517
- Invokes the CreateDefaultConfig operation.
521
+ Creates a new default config entry with specified key, value, schema, and
522
+ metadata. Default configs serve as fallback values when no specific context
523
+ matches.
518
524
 
519
525
  :param input: The operation's input.
520
526
 
@@ -540,7 +546,8 @@ class Superposition:
540
546
 
541
547
  async def create_dimension(self, input: CreateDimensionInput, plugins: list[Plugin] | None = None) -> CreateDimensionOutput:
542
548
  """
543
- Invokes the CreateDimension operation.
549
+ Creates a new dimension with the specified json schema. Dimensions define
550
+ categorical attributes used for context-based config management.
544
551
 
545
552
  :param input: The operation's input.
546
553
 
@@ -566,7 +573,8 @@ class Superposition:
566
573
 
567
574
  async def create_experiment(self, input: CreateExperimentInput, plugins: list[Plugin] | None = None) -> CreateExperimentOutput:
568
575
  """
569
- Invokes the CreateExperiment operation.
576
+ Creates a new experiment with variants, context and conditions. You can
577
+ optionally specify metrics and experiment group for tracking and analysis.
570
578
 
571
579
  :param input: The operation's input.
572
580
 
@@ -618,7 +626,8 @@ class Superposition:
618
626
 
619
627
  async def create_function(self, input: CreateFunctionInput, plugins: list[Plugin] | None = None) -> CreateFunctionOutput:
620
628
  """
621
- Invokes the CreateFunction operation.
629
+ Creates a new custom function for validation or autocompletion with specified
630
+ code, runtime version, and function type.
622
631
 
623
632
  :param input: The operation's input.
624
633
 
@@ -644,7 +653,8 @@ class Superposition:
644
653
 
645
654
  async def create_organisation(self, input: CreateOrganisationInput, plugins: list[Plugin] | None = None) -> CreateOrganisationOutput:
646
655
  """
647
- Invokes the CreateOrganisation operation.
656
+ Creates a new organisation with specified details including name, admin contact,
657
+ and organisational information.
648
658
 
649
659
  :param input: The operation's input.
650
660
 
@@ -670,7 +680,8 @@ class Superposition:
670
680
 
671
681
  async def create_type_templates(self, input: CreateTypeTemplatesInput, plugins: list[Plugin] | None = None) -> CreateTypeTemplatesOutput:
672
682
  """
673
- Invokes the CreateTypeTemplates operation.
683
+ Creates a new type template with specified schema definition, providing reusable
684
+ type definitions for config validation.
674
685
 
675
686
  :param input: The operation's input.
676
687
 
@@ -696,7 +707,8 @@ class Superposition:
696
707
 
697
708
  async def create_webhook(self, input: CreateWebhookInput, plugins: list[Plugin] | None = None) -> CreateWebhookOutput:
698
709
  """
699
- Invokes the CreateWebhook operation.
710
+ Creates a new webhook config to receive HTTP notifications when specified events
711
+ occur in the system.
700
712
 
701
713
  :param input: The operation's input.
702
714
 
@@ -722,7 +734,9 @@ class Superposition:
722
734
 
723
735
  async def create_workspace(self, input: CreateWorkspaceInput, plugins: list[Plugin] | None = None) -> CreateWorkspaceOutput:
724
736
  """
725
- Invokes the CreateWorkspace operation.
737
+ Creates a new workspace within an organisation, including database schema setup
738
+ and isolated environment for config management with specified admin and
739
+ settings.
726
740
 
727
741
  :param input: The operation's input.
728
742
 
@@ -748,7 +762,8 @@ class Superposition:
748
762
 
749
763
  async def delete_context(self, input: DeleteContextInput, plugins: list[Plugin] | None = None) -> DeleteContextOutput:
750
764
  """
751
- Invokes the DeleteContext operation.
765
+ Permanently removes a context from the workspace. This operation cannot be
766
+ undone and will affect config resolution.
752
767
 
753
768
  :param input: The operation's input.
754
769
 
@@ -774,7 +789,9 @@ class Superposition:
774
789
 
775
790
  async def delete_default_config(self, input: DeleteDefaultConfigInput, plugins: list[Plugin] | None = None) -> DeleteDefaultConfigOutput:
776
791
  """
777
- Invokes the DeleteDefaultConfig operation.
792
+ Permanently removes a default config entry from the workspace. This operation
793
+ cannot be performed if it affects config resolution for contexts that rely on
794
+ this fallback value.
778
795
 
779
796
  :param input: The operation's input.
780
797
 
@@ -800,7 +817,9 @@ class Superposition:
800
817
 
801
818
  async def delete_dimension(self, input: DeleteDimensionInput, plugins: list[Plugin] | None = None) -> DeleteDimensionOutput:
802
819
  """
803
- Invokes the DeleteDimension operation.
820
+ Permanently removes a dimension from the workspace. This operation will fail if
821
+ the dimension has active dependencies or is referenced by existing
822
+ configurations.
804
823
 
805
824
  :param input: The operation's input.
806
825
 
@@ -852,7 +871,8 @@ class Superposition:
852
871
 
853
872
  async def delete_function(self, input: DeleteFunctionInput, plugins: list[Plugin] | None = None) -> DeleteFunctionOutput:
854
873
  """
855
- Invokes the DeleteFunction operation.
874
+ Permanently removes a function from the workspace, deleting both draft and
875
+ published versions along with all associated code. It fails if already in use
856
876
 
857
877
  :param input: The operation's input.
858
878
 
@@ -878,7 +898,8 @@ class Superposition:
878
898
 
879
899
  async def delete_type_templates(self, input: DeleteTypeTemplatesInput, plugins: list[Plugin] | None = None) -> DeleteTypeTemplatesOutput:
880
900
  """
881
- Invokes the DeleteTypeTemplates operation.
901
+ Permanently removes a type template from the workspace. No checks performed
902
+ while deleting
882
903
 
883
904
  :param input: The operation's input.
884
905
 
@@ -904,7 +925,8 @@ class Superposition:
904
925
 
905
926
  async def discard_experiment(self, input: DiscardExperimentInput, plugins: list[Plugin] | None = None) -> DiscardExperimentOutput:
906
927
  """
907
- Invokes the DiscardExperiment operation.
928
+ Discards an experiment without selecting a winner, effectively canceling the
929
+ experiment and removing its effects.
908
930
 
909
931
  :param input: The operation's input.
910
932
 
@@ -930,7 +952,8 @@ class Superposition:
930
952
 
931
953
  async def get_config(self, input: GetConfigInput, plugins: list[Plugin] | None = None) -> GetConfigOutput:
932
954
  """
933
- Invokes the GetConfig operation.
955
+ Retrieves config data with context evaluation, including applicable contexts,
956
+ overrides, and default values based on provided conditions.
934
957
 
935
958
  :param input: The operation's input.
936
959
 
@@ -956,7 +979,7 @@ class Superposition:
956
979
 
957
980
  async def get_config_fast(self, input: GetConfigFastInput, plugins: list[Plugin] | None = None) -> GetConfigFastOutput:
958
981
  """
959
- Invokes the GetConfigFast operation.
982
+ Retrieves the latest config with no processing for high-performance access.
960
983
 
961
984
  :param input: The operation's input.
962
985
 
@@ -982,7 +1005,8 @@ class Superposition:
982
1005
 
983
1006
  async def get_context(self, input: GetContextInput, plugins: list[Plugin] | None = None) -> GetContextOutput:
984
1007
  """
985
- Invokes the GetContext operation.
1008
+ Retrieves detailed information about a specific context by its unique
1009
+ identifier, including conditions, overrides, and metadata.
986
1010
 
987
1011
  :param input: The operation's input.
988
1012
 
@@ -1008,7 +1032,8 @@ class Superposition:
1008
1032
 
1009
1033
  async def get_context_from_condition(self, input: GetContextFromConditionInput, plugins: list[Plugin] | None = None) -> GetContextFromConditionOutput:
1010
1034
  """
1011
- Invokes the GetContextFromCondition operation.
1035
+ Retrieves context information by matching against provided conditions. Used to
1036
+ find contexts that would apply to specific scenarios.
1012
1037
 
1013
1038
  :param input: The operation's input.
1014
1039
 
@@ -1034,7 +1059,8 @@ class Superposition:
1034
1059
 
1035
1060
  async def get_dimension(self, input: GetDimensionInput, plugins: list[Plugin] | None = None) -> GetDimensionOutput:
1036
1061
  """
1037
- Invokes the GetDimension operation.
1062
+ Retrieves detailed information about a specific dimension, including its schema,
1063
+ dependencies, and configuration metadata.
1038
1064
 
1039
1065
  :param input: The operation's input.
1040
1066
 
@@ -1060,7 +1086,8 @@ class Superposition:
1060
1086
 
1061
1087
  async def get_experiment(self, input: GetExperimentInput, plugins: list[Plugin] | None = None) -> GetExperimentOutput:
1062
1088
  """
1063
- Invokes the GetExperiment operation.
1089
+ Retrieves detailed information about a specific experiment, including its
1090
+ config, variants, status, and metrics.
1064
1091
 
1065
1092
  :param input: The operation's input.
1066
1093
 
@@ -1112,7 +1139,8 @@ class Superposition:
1112
1139
 
1113
1140
  async def get_function(self, input: GetFunctionInput, plugins: list[Plugin] | None = None) -> GetFunctionOutput:
1114
1141
  """
1115
- Invokes the GetFunction operation.
1142
+ Retrieves detailed information about a specific function including its published
1143
+ and draft versions, code, and metadata.
1116
1144
 
1117
1145
  :param input: The operation's input.
1118
1146
 
@@ -1138,7 +1166,8 @@ class Superposition:
1138
1166
 
1139
1167
  async def get_organisation(self, input: GetOrganisationInput, plugins: list[Plugin] | None = None) -> GetOrganisationOutput:
1140
1168
  """
1141
- Invokes the GetOrganisation operation.
1169
+ Retrieves detailed information about a specific organisation including its
1170
+ status, contact details, and administrative metadata.
1142
1171
 
1143
1172
  :param input: The operation's input.
1144
1173
 
@@ -1164,7 +1193,8 @@ class Superposition:
1164
1193
 
1165
1194
  async def get_resolved_config(self, input: GetResolvedConfigInput, plugins: list[Plugin] | None = None) -> GetResolvedConfigOutput:
1166
1195
  """
1167
- Invokes the GetResolvedConfig operation.
1196
+ Resolves and merges config values based on context conditions, applying
1197
+ overrides and merge strategies to produce the final configuration.
1168
1198
 
1169
1199
  :param input: The operation's input.
1170
1200
 
@@ -1190,7 +1220,8 @@ class Superposition:
1190
1220
 
1191
1221
  async def get_type_templates_list(self, input: GetTypeTemplatesListInput, plugins: list[Plugin] | None = None) -> GetTypeTemplatesListOutput:
1192
1222
  """
1193
- Invokes the GetTypeTemplatesList operation.
1223
+ Retrieves a paginated list of all type templates in the workspace, including
1224
+ their schemas and metadata for type management.
1194
1225
 
1195
1226
  :param input: The operation's input.
1196
1227
 
@@ -1216,7 +1247,8 @@ class Superposition:
1216
1247
 
1217
1248
  async def get_webhook(self, input: GetWebhookInput, plugins: list[Plugin] | None = None) -> GetWebhookOutput:
1218
1249
  """
1219
- Invokes the GetWebhook operation.
1250
+ Retrieves detailed information about a specific webhook config, including its
1251
+ events, headers, and trigger history.
1220
1252
 
1221
1253
  :param input: The operation's input.
1222
1254
 
@@ -1242,7 +1274,9 @@ class Superposition:
1242
1274
 
1243
1275
  async def list_audit_logs(self, input: ListAuditLogsInput, plugins: list[Plugin] | None = None) -> ListAuditLogsOutput:
1244
1276
  """
1245
- Invokes the ListAuditLogs operation.
1277
+ Retrieves a paginated list of audit logs with support for filtering by date
1278
+ range, table names, actions, and usernames for compliance and monitoring
1279
+ purposes.
1246
1280
 
1247
1281
  :param input: The operation's input.
1248
1282
 
@@ -1268,7 +1302,8 @@ class Superposition:
1268
1302
 
1269
1303
  async def list_contexts(self, input: ListContextsInput, plugins: list[Plugin] | None = None) -> ListContextsOutput:
1270
1304
  """
1271
- Invokes the ListContexts operation.
1305
+ Retrieves a paginated list of contexts with support for filtering by creation
1306
+ date, modification date, weight, and other criteria.
1272
1307
 
1273
1308
  :param input: The operation's input.
1274
1309
 
@@ -1294,7 +1329,8 @@ class Superposition:
1294
1329
 
1295
1330
  async def list_default_configs(self, input: ListDefaultConfigsInput, plugins: list[Plugin] | None = None) -> ListDefaultConfigsOutput:
1296
1331
  """
1297
- Invokes the ListDefaultConfigs operation.
1332
+ Retrieves a paginated list of all default config entries in the workspace,
1333
+ including their values, schemas, and metadata.
1298
1334
 
1299
1335
  :param input: The operation's input.
1300
1336
 
@@ -1320,7 +1356,8 @@ class Superposition:
1320
1356
 
1321
1357
  async def list_dimensions(self, input: ListDimensionsInput, plugins: list[Plugin] | None = None) -> ListDimensionsOutput:
1322
1358
  """
1323
- Invokes the ListDimensions operation.
1359
+ Retrieves a paginated list of all dimensions in the workspace. Dimensions are
1360
+ returned with their details and metadata.
1324
1361
 
1325
1362
  :param input: The operation's input.
1326
1363
 
@@ -1346,7 +1383,8 @@ class Superposition:
1346
1383
 
1347
1384
  async def list_experiment(self, input: ListExperimentInput, plugins: list[Plugin] | None = None) -> ListExperimentOutput:
1348
1385
  """
1349
- Invokes the ListExperiment operation.
1386
+ Retrieves a paginated list of experiments with support for filtering by status,
1387
+ date range, name, creator, and experiment group.
1350
1388
 
1351
1389
  :param input: The operation's input.
1352
1390
 
@@ -1398,7 +1436,8 @@ class Superposition:
1398
1436
 
1399
1437
  async def list_function(self, input: ListFunctionInput, plugins: list[Plugin] | None = None) -> ListFunctionOutput:
1400
1438
  """
1401
- Invokes the ListFunction operation.
1439
+ Retrieves a paginated list of all functions in the workspace with their basic
1440
+ information and current status.
1402
1441
 
1403
1442
  :param input: The operation's input.
1404
1443
 
@@ -1424,7 +1463,8 @@ class Superposition:
1424
1463
 
1425
1464
  async def list_organisation(self, input: ListOrganisationInput, plugins: list[Plugin] | None = None) -> ListOrganisationOutput:
1426
1465
  """
1427
- Invokes the ListOrganisation operation.
1466
+ Retrieves a paginated list of all organisations with their basic information and
1467
+ status details.
1428
1468
 
1429
1469
  :param input: The operation's input.
1430
1470
 
@@ -1450,7 +1490,8 @@ class Superposition:
1450
1490
 
1451
1491
  async def list_versions(self, input: ListVersionsInput, plugins: list[Plugin] | None = None) -> ListVersionsOutput:
1452
1492
  """
1453
- Invokes the ListVersions operation.
1493
+ Retrieves a paginated list of config versions with their metadata, hash values,
1494
+ and creation timestamps for audit and rollback purposes.
1454
1495
 
1455
1496
  :param input: The operation's input.
1456
1497
 
@@ -1476,7 +1517,8 @@ class Superposition:
1476
1517
 
1477
1518
  async def list_webhook(self, input: ListWebhookInput, plugins: list[Plugin] | None = None) -> ListWebhookOutput:
1478
1519
  """
1479
- Invokes the ListWebhook operation.
1520
+ Retrieves a paginated list of all webhook configs in the workspace, including
1521
+ their status and config details.
1480
1522
 
1481
1523
  :param input: The operation's input.
1482
1524
 
@@ -1502,7 +1544,9 @@ class Superposition:
1502
1544
 
1503
1545
  async def list_workspace(self, input: ListWorkspaceInput, plugins: list[Plugin] | None = None) -> ListWorkspaceOutput:
1504
1546
  """
1505
- Invokes the ListWorkspace operation.
1547
+ Retrieves a paginated list of all workspaces with optional filtering by
1548
+ workspace name, including their status, config details, and administrative
1549
+ information.
1506
1550
 
1507
1551
  :param input: The operation's input.
1508
1552
 
@@ -1528,7 +1572,7 @@ class Superposition:
1528
1572
 
1529
1573
  async def migrate_workspace_schema(self, input: MigrateWorkspaceSchemaInput, plugins: list[Plugin] | None = None) -> MigrateWorkspaceSchemaOutput:
1530
1574
  """
1531
- Invokes the MigrateWorkspaceSchema operation.
1575
+ Migrates the workspace database schema to the new version of the template
1532
1576
 
1533
1577
  :param input: The operation's input.
1534
1578
 
@@ -1554,7 +1598,9 @@ class Superposition:
1554
1598
 
1555
1599
  async def move_context(self, input: MoveContextInput, plugins: list[Plugin] | None = None) -> MoveContextOutput:
1556
1600
  """
1557
- Invokes the MoveContext operation.
1601
+ Updates the condition of the mentioned context, if a context with the new
1602
+ condition already exists, it merges the override and effectively deleting the
1603
+ old context
1558
1604
 
1559
1605
  :param input: The operation's input.
1560
1606
 
@@ -1580,7 +1626,8 @@ class Superposition:
1580
1626
 
1581
1627
  async def pause_experiment(self, input: PauseExperimentInput, plugins: list[Plugin] | None = None) -> PauseExperimentOutput:
1582
1628
  """
1583
- Invokes the PauseExperiment operation.
1629
+ Temporarily pauses an inprogress experiment, suspending its effects while
1630
+ preserving the experiment config for later resumption.
1584
1631
 
1585
1632
  :param input: The operation's input.
1586
1633
 
@@ -1606,7 +1653,8 @@ class Superposition:
1606
1653
 
1607
1654
  async def publish(self, input: PublishInput, plugins: list[Plugin] | None = None) -> PublishOutput:
1608
1655
  """
1609
- Invokes the Publish operation.
1656
+ Publishes the draft version of a function, making it the active version used for
1657
+ validation or autocompletion in the system.
1610
1658
 
1611
1659
  :param input: The operation's input.
1612
1660
 
@@ -1632,7 +1680,8 @@ class Superposition:
1632
1680
 
1633
1681
  async def ramp_experiment(self, input: RampExperimentInput, plugins: list[Plugin] | None = None) -> RampExperimentOutput:
1634
1682
  """
1635
- Invokes the RampExperiment operation.
1683
+ Adjusts the traffic percentage allocation for an in-progress experiment,
1684
+ allowing gradual rollout or rollback of experimental features.
1636
1685
 
1637
1686
  :param input: The operation's input.
1638
1687
 
@@ -1684,7 +1733,8 @@ class Superposition:
1684
1733
 
1685
1734
  async def resume_experiment(self, input: ResumeExperimentInput, plugins: list[Plugin] | None = None) -> ResumeExperimentOutput:
1686
1735
  """
1687
- Invokes the ResumeExperiment operation.
1736
+ Resumes a previously paused experiment, restoring its in-progress state and
1737
+ re-enabling variant evaluation.
1688
1738
 
1689
1739
  :param input: The operation's input.
1690
1740
 
@@ -1710,7 +1760,8 @@ class Superposition:
1710
1760
 
1711
1761
  async def test(self, input: TestInput, plugins: list[Plugin] | None = None) -> TestOutput:
1712
1762
  """
1713
- Invokes the Test operation.
1763
+ Executes a function in test mode with provided input parameters to validate its
1764
+ behavior before publishing or deployment.
1714
1765
 
1715
1766
  :param input: The operation's input.
1716
1767
 
@@ -1736,7 +1787,8 @@ class Superposition:
1736
1787
 
1737
1788
  async def update_default_config(self, input: UpdateDefaultConfigInput, plugins: list[Plugin] | None = None) -> UpdateDefaultConfigOutput:
1738
1789
  """
1739
- Invokes the UpdateDefaultConfig operation.
1790
+ Updates an existing default config entry. Allows modification of value, schema,
1791
+ function mappings, and description while preserving the key identifier.
1740
1792
 
1741
1793
  :param input: The operation's input.
1742
1794
 
@@ -1762,7 +1814,9 @@ class Superposition:
1762
1814
 
1763
1815
  async def update_dimension(self, input: UpdateDimensionInput, plugins: list[Plugin] | None = None) -> UpdateDimensionOutput:
1764
1816
  """
1765
- Invokes the UpdateDimension operation.
1817
+ Updates an existing dimension's configuration. Allows modification of schema,
1818
+ position, function mappings, and other properties while maintaining dependency
1819
+ relationships.
1766
1820
 
1767
1821
  :param input: The operation's input.
1768
1822
 
@@ -1815,7 +1869,8 @@ class Superposition:
1815
1869
 
1816
1870
  async def update_function(self, input: UpdateFunctionInput, plugins: list[Plugin] | None = None) -> UpdateFunctionOutput:
1817
1871
  """
1818
- Invokes the UpdateFunction operation.
1872
+ Updates the draft version of an existing function with new code, runtime
1873
+ version, or description while preserving the published version.
1819
1874
 
1820
1875
  :param input: The operation's input.
1821
1876
 
@@ -1841,7 +1896,8 @@ class Superposition:
1841
1896
 
1842
1897
  async def update_organisation(self, input: UpdateOrganisationInput, plugins: list[Plugin] | None = None) -> UpdateOrganisationOutput:
1843
1898
  """
1844
- Invokes the UpdateOrganisation operation.
1899
+ Updates an existing organisation's information including contact details,
1900
+ status, and administrative properties.
1845
1901
 
1846
1902
  :param input: The operation's input.
1847
1903
 
@@ -1867,7 +1923,8 @@ class Superposition:
1867
1923
 
1868
1924
  async def update_override(self, input: UpdateOverrideInput, plugins: list[Plugin] | None = None) -> UpdateOverrideOutput:
1869
1925
  """
1870
- Invokes the UpdateOverride operation.
1926
+ Updates the overrides for an existing context. Allows modification of override
1927
+ values while maintaining the context's conditions.
1871
1928
 
1872
1929
  :param input: The operation's input.
1873
1930
 
@@ -1893,7 +1950,10 @@ class Superposition:
1893
1950
 
1894
1951
  async def update_overrides_experiment(self, input: UpdateOverridesExperimentInput, plugins: list[Plugin] | None = None) -> UpdateOverridesExperimentOutput:
1895
1952
  """
1896
- Invokes the UpdateOverridesExperiment operation.
1953
+ Updates the overrides for specific variants within an experiment, allowing
1954
+ modification of experiment behavior Updates the overrides for specific variants
1955
+ within an experiment, allowing modification of experiment behavior while it is
1956
+ in the created state.
1897
1957
 
1898
1958
  :param input: The operation's input.
1899
1959
 
@@ -1919,7 +1979,8 @@ class Superposition:
1919
1979
 
1920
1980
  async def update_type_templates(self, input: UpdateTypeTemplatesInput, plugins: list[Plugin] | None = None) -> UpdateTypeTemplatesOutput:
1921
1981
  """
1922
- Invokes the UpdateTypeTemplates operation.
1982
+ Updates an existing type template's schema definition and metadata while
1983
+ preserving its identifier and usage history.
1923
1984
 
1924
1985
  :param input: The operation's input.
1925
1986
 
@@ -1945,7 +2006,8 @@ class Superposition:
1945
2006
 
1946
2007
  async def update_webhook(self, input: UpdateWebhookInput, plugins: list[Plugin] | None = None) -> UpdateWebhookOutput:
1947
2008
  """
1948
- Invokes the UpdateWebhook operation.
2009
+ Updates an existing webhook config, allowing modification of URL, events,
2010
+ headers, and other webhook properties.
1949
2011
 
1950
2012
  :param input: The operation's input.
1951
2013
 
@@ -1971,7 +2033,9 @@ class Superposition:
1971
2033
 
1972
2034
  async def update_workspace(self, input: UpdateWorkspaceInput, plugins: list[Plugin] | None = None) -> UpdateWorkspaceOutput:
1973
2035
  """
1974
- Invokes the UpdateWorkspace operation.
2036
+ Updates an existing workspace configuration, allowing modification of admin
2037
+ settings, mandatory dimensions, and workspace properties. Validates config
2038
+ version existence if provided.
1975
2039
 
1976
2040
  :param input: The operation's input.
1977
2041
 
@@ -1997,7 +2061,8 @@ class Superposition:
1997
2061
 
1998
2062
  async def weight_recompute(self, input: WeightRecomputeInput, plugins: list[Plugin] | None = None) -> WeightRecomputeOutput:
1999
2063
  """
2000
- Invokes the WeightRecompute operation.
2064
+ Recalculates and updates the priority weights for all contexts in the workspace
2065
+ based on their dimensions.
2001
2066
 
2002
2067
  :param input: The operation's input.
2003
2068
 
@@ -427,6 +427,10 @@ class AddMembersToGroupOutput:
427
427
  """
428
428
  Standard response structure for an experiment group.
429
429
 
430
+ :param context:
431
+ **[Required]** - Represents conditional criteria used for context matching. Keys
432
+ define dimension names and values specify the criteria that must be met.
433
+
430
434
  """
431
435
 
432
436
  id: str
@@ -616,6 +620,13 @@ ShapeID("io.superposition#InternalServerError"): InternalServerError,
616
620
 
617
621
  @dataclass(kw_only=True)
618
622
  class ApplicableVariantsInput:
623
+ """
624
+
625
+ :param context:
626
+ **[Required]** - Represents conditional criteria used for context matching. Keys
627
+ define dimension names and values specify the criteria that must be met.
628
+
629
+ """
619
630
 
620
631
  workspace_id: str | None = None
621
632
  org_id: str = "juspay"
@@ -1053,6 +1064,13 @@ class AutocompleteFunctionRequest:
1053
1064
 
1054
1065
  @dataclass(kw_only=True)
1055
1066
  class ContextMove:
1067
+ """
1068
+
1069
+ :param context:
1070
+ **[Required]** - Represents conditional criteria used for context matching. Keys
1071
+ define dimension names and values specify the criteria that must be met.
1072
+
1073
+ """
1056
1074
 
1057
1075
  context: dict[str, Document]
1058
1076
 
@@ -1122,6 +1140,18 @@ def _deserialize_overrides(deserializer: ShapeDeserializer, schema: Schema) -> d
1122
1140
 
1123
1141
  @dataclass(kw_only=True)
1124
1142
  class ContextPut:
1143
+ """
1144
+
1145
+ :param context:
1146
+ **[Required]** - Represents conditional criteria used for context matching. Keys
1147
+ define dimension names and values specify the criteria that must be met.
1148
+
1149
+ :param override:
1150
+ **[Required]** - Configuration overrides that replace default values when
1151
+ context conditions are met. Keys represent configuration keys and values are the
1152
+ override data.
1153
+
1154
+ """
1125
1155
 
1126
1156
  context: dict[str, Document]
1127
1157
 
@@ -1187,6 +1217,11 @@ class ContextIdentifierId:
1187
1217
 
1188
1218
  @dataclass
1189
1219
  class ContextIdentifierContext:
1220
+ """
1221
+ Represents conditional criteria used for context matching. Keys define dimension
1222
+ names and values specify the criteria that must be met.
1223
+
1224
+ """
1190
1225
 
1191
1226
  value: dict[str, Document]
1192
1227
 
@@ -1254,6 +1289,14 @@ class _ContextIdentifierDeserializer:
1254
1289
 
1255
1290
  @dataclass(kw_only=True)
1256
1291
  class UpdateContextOverrideRequest:
1292
+ """
1293
+
1294
+ :param override:
1295
+ **[Required]** - Configuration overrides that replace default values when
1296
+ context conditions are met. Keys represent configuration keys and values are the
1297
+ override data.
1298
+
1299
+ """
1257
1300
 
1258
1301
  context: ContextIdentifier
1259
1302
 
@@ -1512,6 +1555,21 @@ class BulkOperationInput:
1512
1555
 
1513
1556
  @dataclass(kw_only=True)
1514
1557
  class ContextResponse:
1558
+ """
1559
+
1560
+ :param value:
1561
+ Represents conditional criteria used for context matching. Keys define dimension
1562
+ names and values specify the criteria that must be met.
1563
+
1564
+ :param override:
1565
+ Configuration overrides that replace default values when context conditions are
1566
+ met. Keys represent configuration keys and values are the override data.
1567
+
1568
+ :param weight:
1569
+ Priority weight used to determine the order of context evaluation. Higher
1570
+ weights take precedence during configuration resolution.
1571
+
1572
+ """
1515
1573
 
1516
1574
  id: str
1517
1575
 
@@ -1908,6 +1966,13 @@ class ExperimentStatusType(StrEnum):
1908
1966
 
1909
1967
  @dataclass(kw_only=True)
1910
1968
  class ConcludeExperimentOutput:
1969
+ """
1970
+
1971
+ :param context:
1972
+ **[Required]** - Represents conditional criteria used for context matching. Keys
1973
+ define dimension names and values specify the criteria that must be met.
1974
+
1975
+ """
1911
1976
 
1912
1977
  id: str
1913
1978
 
@@ -2161,6 +2226,13 @@ def _deserialize_override_with_keys(deserializer: ShapeDeserializer, schema: Sch
2161
2226
 
2162
2227
  @dataclass(kw_only=True)
2163
2228
  class ContextPartial:
2229
+ """
2230
+
2231
+ :param condition:
2232
+ Represents conditional criteria used for context matching. Keys define dimension
2233
+ names and values specify the criteria that must be met.
2234
+
2235
+ """
2164
2236
 
2165
2237
  id: str | None = None
2166
2238
  condition: dict[str, Document] | None = None
@@ -2273,6 +2345,13 @@ def _deserialize_overrides_map(deserializer: ShapeDeserializer, schema: Schema)
2273
2345
 
2274
2346
  @dataclass(kw_only=True)
2275
2347
  class GetConfigOutput:
2348
+ """
2349
+
2350
+ :param default_configs:
2351
+ Generic key-value object structure used for flexible data representation
2352
+ throughout the API.
2353
+
2354
+ """
2276
2355
 
2277
2356
  contexts: list[ContextPartial] | None = None
2278
2357
  overrides: dict[str, dict[str, Document]] | None = None
@@ -2735,6 +2814,18 @@ LIST_VERSIONS = APIOperation(
2735
2814
 
2736
2815
  @dataclass(kw_only=True)
2737
2816
  class CreateContextInput:
2817
+ """
2818
+
2819
+ :param context:
2820
+ **[Required]** - Represents conditional criteria used for context matching. Keys
2821
+ define dimension names and values specify the criteria that must be met.
2822
+
2823
+ :param override:
2824
+ **[Required]** - Configuration overrides that replace default values when
2825
+ context conditions are met. Keys represent configuration keys and values are the
2826
+ override data.
2827
+
2828
+ """
2738
2829
 
2739
2830
  workspace_id: str | None = None
2740
2831
  org_id: str = "juspay"
@@ -2799,6 +2890,21 @@ class CreateContextInput:
2799
2890
 
2800
2891
  @dataclass(kw_only=True)
2801
2892
  class CreateContextOutput:
2893
+ """
2894
+
2895
+ :param value:
2896
+ Represents conditional criteria used for context matching. Keys define dimension
2897
+ names and values specify the criteria that must be met.
2898
+
2899
+ :param override:
2900
+ Configuration overrides that replace default values when context conditions are
2901
+ met. Keys represent configuration keys and values are the override data.
2902
+
2903
+ :param weight:
2904
+ Priority weight used to determine the order of context evaluation. Higher
2905
+ weights take precedence during configuration resolution.
2906
+
2907
+ """
2802
2908
 
2803
2909
  id: str
2804
2910
 
@@ -3034,6 +3140,21 @@ class GetContextInput:
3034
3140
 
3035
3141
  @dataclass(kw_only=True)
3036
3142
  class GetContextOutput:
3143
+ """
3144
+
3145
+ :param value:
3146
+ Represents conditional criteria used for context matching. Keys define dimension
3147
+ names and values specify the criteria that must be met.
3148
+
3149
+ :param override:
3150
+ Configuration overrides that replace default values when context conditions are
3151
+ met. Keys represent configuration keys and values are the override data.
3152
+
3153
+ :param weight:
3154
+ Priority weight used to determine the order of context evaluation. Higher
3155
+ weights take precedence during configuration resolution.
3156
+
3157
+ """
3037
3158
 
3038
3159
  id: str
3039
3160
 
@@ -3187,6 +3308,21 @@ class GetContextFromConditionInput:
3187
3308
 
3188
3309
  @dataclass(kw_only=True)
3189
3310
  class GetContextFromConditionOutput:
3311
+ """
3312
+
3313
+ :param value:
3314
+ Represents conditional criteria used for context matching. Keys define dimension
3315
+ names and values specify the criteria that must be met.
3316
+
3317
+ :param override:
3318
+ Configuration overrides that replace default values when context conditions are
3319
+ met. Keys represent configuration keys and values are the override data.
3320
+
3321
+ :param weight:
3322
+ Priority weight used to determine the order of context evaluation. Higher
3323
+ weights take precedence during configuration resolution.
3324
+
3325
+ """
3190
3326
 
3191
3327
  id: str
3192
3328
 
@@ -3301,8 +3437,20 @@ ShapeID("io.superposition#InternalServerError"): InternalServerError,
3301
3437
  )
3302
3438
 
3303
3439
  class SortBy(StrEnum):
3440
+ """
3441
+ Sort order enumeration for list operations.
3442
+
3443
+ """
3304
3444
  DESC = "desc"
3445
+ """
3446
+ Descending order (Z-A, newest first)
3447
+
3448
+ """
3305
3449
  ASC = "asc"
3450
+ """
3451
+ Ascending order (A-Z, oldest first)
3452
+
3453
+ """
3306
3454
 
3307
3455
  class ContextFilterSortOn(StrEnum):
3308
3456
  LAST_MODIFIED_AT = "last_modified_at"
@@ -3311,6 +3459,12 @@ class ContextFilterSortOn(StrEnum):
3311
3459
 
3312
3460
  @dataclass(kw_only=True)
3313
3461
  class ListContextsInput:
3462
+ """
3463
+
3464
+ :param sort_by:
3465
+ Sort order enumeration for list operations.
3466
+
3467
+ """
3314
3468
 
3315
3469
  workspace_id: str | None = None
3316
3470
  org_id: str = "juspay"
@@ -3453,6 +3607,13 @@ LIST_CONTEXTS = APIOperation(
3453
3607
 
3454
3608
  @dataclass(kw_only=True)
3455
3609
  class MoveContextInput:
3610
+ """
3611
+
3612
+ :param context:
3613
+ **[Required]** - Represents conditional criteria used for context matching. Keys
3614
+ define dimension names and values specify the criteria that must be met.
3615
+
3616
+ """
3456
3617
 
3457
3618
  workspace_id: str | None = None
3458
3619
  org_id: str = "juspay"
@@ -3510,6 +3671,21 @@ class MoveContextInput:
3510
3671
 
3511
3672
  @dataclass(kw_only=True)
3512
3673
  class MoveContextOutput:
3674
+ """
3675
+
3676
+ :param value:
3677
+ Represents conditional criteria used for context matching. Keys define dimension
3678
+ names and values specify the criteria that must be met.
3679
+
3680
+ :param override:
3681
+ Configuration overrides that replace default values when context conditions are
3682
+ met. Keys represent configuration keys and values are the override data.
3683
+
3684
+ :param weight:
3685
+ Priority weight used to determine the order of context evaluation. Higher
3686
+ weights take precedence during configuration resolution.
3687
+
3688
+ """
3513
3689
 
3514
3690
  id: str
3515
3691
 
@@ -3667,6 +3843,21 @@ class UpdateOverrideInput:
3667
3843
 
3668
3844
  @dataclass(kw_only=True)
3669
3845
  class UpdateOverrideOutput:
3846
+ """
3847
+
3848
+ :param value:
3849
+ Represents conditional criteria used for context matching. Keys define dimension
3850
+ names and values specify the criteria that must be met.
3851
+
3852
+ :param override:
3853
+ Configuration overrides that replace default values when context conditions are
3854
+ met. Keys represent configuration keys and values are the override data.
3855
+
3856
+ :param weight:
3857
+ Priority weight used to determine the order of context evaluation. Higher
3858
+ weights take precedence during configuration resolution.
3859
+
3860
+ """
3670
3861
 
3671
3862
  id: str
3672
3863
 
@@ -3820,6 +4011,21 @@ class WeightRecomputeInput:
3820
4011
 
3821
4012
  @dataclass(kw_only=True)
3822
4013
  class WeightRecomputeResponse:
4014
+ """
4015
+
4016
+ :param condition:
4017
+ Represents conditional criteria used for context matching. Keys define dimension
4018
+ names and values specify the criteria that must be met.
4019
+
4020
+ :param old_weight:
4021
+ Priority weight used to determine the order of context evaluation. Higher
4022
+ weights take precedence during configuration resolution.
4023
+
4024
+ :param new_weight:
4025
+ Priority weight used to determine the order of context evaluation. Higher
4026
+ weights take precedence during configuration resolution.
4027
+
4028
+ """
3823
4029
 
3824
4030
  id: str | None = None
3825
4031
  condition: dict[str, Document] | None = None
@@ -4258,6 +4464,13 @@ def _deserialize_dependents(deserializer: ShapeDeserializer, schema: Schema) ->
4258
4464
 
4259
4465
  @dataclass(kw_only=True)
4260
4466
  class CreateDimensionOutput:
4467
+ """
4468
+
4469
+ :param dependency_graph:
4470
+ **[Required]** - Generic key-value object structure used for flexible data
4471
+ representation throughout the API.
4472
+
4473
+ """
4261
4474
 
4262
4475
  dimension: str
4263
4476
 
@@ -4389,6 +4602,13 @@ CREATE_DIMENSION = APIOperation(
4389
4602
 
4390
4603
  @dataclass(kw_only=True)
4391
4604
  class CreateExperimentInput:
4605
+ """
4606
+
4607
+ :param context:
4608
+ **[Required]** - Represents conditional criteria used for context matching. Keys
4609
+ define dimension names and values specify the criteria that must be met.
4610
+
4611
+ """
4392
4612
 
4393
4613
  workspace_id: str | None = None
4394
4614
  org_id: str = "juspay"
@@ -4477,6 +4697,13 @@ class CreateExperimentInput:
4477
4697
 
4478
4698
  @dataclass(kw_only=True)
4479
4699
  class CreateExperimentOutput:
4700
+ """
4701
+
4702
+ :param context:
4703
+ **[Required]** - Represents conditional criteria used for context matching. Keys
4704
+ define dimension names and values specify the criteria that must be met.
4705
+
4706
+ """
4480
4707
 
4481
4708
  id: str
4482
4709
 
@@ -4647,6 +4874,10 @@ class CreateExperimentGroupInput:
4647
4874
  :param change_reason:
4648
4875
  **[Required]** - Reason for creating this experiment group.
4649
4876
 
4877
+ :param context:
4878
+ **[Required]** - Represents conditional criteria used for context matching. Keys
4879
+ define dimension names and values specify the criteria that must be met.
4880
+
4650
4881
  :param member_experiment_ids:
4651
4882
  List of experiment IDs that are members of this group.
4652
4883
 
@@ -4728,6 +4959,10 @@ class CreateExperimentGroupOutput:
4728
4959
  """
4729
4960
  Standard response structure for an experiment group.
4730
4961
 
4962
+ :param context:
4963
+ **[Required]** - Represents conditional criteria used for context matching. Keys
4964
+ define dimension names and values specify the criteria that must be met.
4965
+
4731
4966
  """
4732
4967
 
4733
4968
  id: str
@@ -5417,6 +5652,13 @@ class Version(StrEnum):
5417
5652
 
5418
5653
  @dataclass(kw_only=True)
5419
5654
  class CreateWebhookInput:
5655
+ """
5656
+
5657
+ :param custom_headers:
5658
+ Generic key-value object structure used for flexible data representation
5659
+ throughout the API.
5660
+
5661
+ """
5420
5662
 
5421
5663
  workspace_id: str | None = None
5422
5664
  org_id: str = "juspay"
@@ -5512,6 +5754,13 @@ class CreateWebhookInput:
5512
5754
 
5513
5755
  @dataclass(kw_only=True)
5514
5756
  class CreateWebhookOutput:
5757
+ """
5758
+
5759
+ :param custom_headers:
5760
+ Generic key-value object structure used for flexible data representation
5761
+ throughout the API.
5762
+
5763
+ """
5515
5764
 
5516
5765
  name: str
5517
5766
 
@@ -6493,6 +6742,10 @@ class DeleteExperimentGroupOutput:
6493
6742
  """
6494
6743
  Standard response structure for an experiment group.
6495
6744
 
6745
+ :param context:
6746
+ **[Required]** - Represents conditional criteria used for context matching. Keys
6747
+ define dimension names and values specify the criteria that must be met.
6748
+
6496
6749
  """
6497
6750
 
6498
6751
  id: str
@@ -6921,6 +7174,13 @@ class GetDimensionInput:
6921
7174
 
6922
7175
  @dataclass(kw_only=True)
6923
7176
  class GetDimensionOutput:
7177
+ """
7178
+
7179
+ :param dependency_graph:
7180
+ **[Required]** - Generic key-value object structure used for flexible data
7181
+ representation throughout the API.
7182
+
7183
+ """
6924
7184
 
6925
7185
  dimension: str
6926
7186
 
@@ -7099,6 +7359,13 @@ class ListDimensionsInput:
7099
7359
 
7100
7360
  @dataclass(kw_only=True)
7101
7361
  class DimensionExt:
7362
+ """
7363
+
7364
+ :param dependency_graph:
7365
+ **[Required]** - Generic key-value object structure used for flexible data
7366
+ representation throughout the API.
7367
+
7368
+ """
7102
7369
 
7103
7370
  dimension: str
7104
7371
 
@@ -7377,6 +7644,13 @@ class UpdateDimensionInput:
7377
7644
 
7378
7645
  @dataclass(kw_only=True)
7379
7646
  class UpdateDimensionOutput:
7647
+ """
7648
+
7649
+ :param dependency_graph:
7650
+ **[Required]** - Generic key-value object structure used for flexible data
7651
+ representation throughout the API.
7652
+
7653
+ """
7380
7654
 
7381
7655
  dimension: str
7382
7656
 
@@ -7552,6 +7826,13 @@ class DiscardExperimentInput:
7552
7826
 
7553
7827
  @dataclass(kw_only=True)
7554
7828
  class DiscardExperimentOutput:
7829
+ """
7830
+
7831
+ :param context:
7832
+ **[Required]** - Represents conditional criteria used for context matching. Keys
7833
+ define dimension names and values specify the criteria that must be met.
7834
+
7835
+ """
7555
7836
 
7556
7837
  id: str
7557
7838
 
@@ -7757,6 +8038,10 @@ class GetExperimentGroupOutput:
7757
8038
  """
7758
8039
  Standard response structure for an experiment group.
7759
8040
 
8041
+ :param context:
8042
+ **[Required]** - Represents conditional criteria used for context matching. Keys
8043
+ define dimension names and values specify the criteria that must be met.
8044
+
7760
8045
  """
7761
8046
 
7762
8047
  id: str
@@ -7997,6 +8282,10 @@ class ExperimentGroupResponse:
7997
8282
  """
7998
8283
  Standard response structure for an experiment group.
7999
8284
 
8285
+ :param context:
8286
+ **[Required]** - Represents conditional criteria used for context matching. Keys
8287
+ define dimension names and values specify the criteria that must be met.
8288
+
8000
8289
  """
8001
8290
 
8002
8291
  id: str
@@ -8250,6 +8539,10 @@ class RemoveMembersFromGroupOutput:
8250
8539
  """
8251
8540
  Standard response structure for an experiment group.
8252
8541
 
8542
+ :param context:
8543
+ **[Required]** - Represents conditional criteria used for context matching. Keys
8544
+ define dimension names and values specify the criteria that must be met.
8545
+
8253
8546
  """
8254
8547
 
8255
8548
  id: str
@@ -8447,6 +8740,10 @@ class UpdateExperimentGroupOutput:
8447
8740
  """
8448
8741
  Standard response structure for an experiment group.
8449
8742
 
8743
+ :param context:
8744
+ **[Required]** - Represents conditional criteria used for context matching. Keys
8745
+ define dimension names and values specify the criteria that must be met.
8746
+
8450
8747
  """
8451
8748
 
8452
8749
  id: str
@@ -8571,6 +8868,13 @@ ShapeID("io.superposition#InternalServerError"): InternalServerError,
8571
8868
 
8572
8869
  @dataclass(kw_only=True)
8573
8870
  class ExperimentResponse:
8871
+ """
8872
+
8873
+ :param context:
8874
+ **[Required]** - Represents conditional criteria used for context matching. Keys
8875
+ define dimension names and values specify the criteria that must be met.
8876
+
8877
+ """
8574
8878
 
8575
8879
  id: str
8576
8880
 
@@ -8776,6 +9080,13 @@ class GetExperimentInput:
8776
9080
 
8777
9081
  @dataclass(kw_only=True)
8778
9082
  class GetExperimentOutput:
9083
+ """
9084
+
9085
+ :param context:
9086
+ **[Required]** - Represents conditional criteria used for context matching. Keys
9087
+ define dimension names and values specify the criteria that must be met.
9088
+
9089
+ """
8779
9090
 
8780
9091
  id: str
8781
9092
 
@@ -8944,6 +9255,12 @@ class ExperimentSortOn(StrEnum):
8944
9255
 
8945
9256
  @dataclass(kw_only=True)
8946
9257
  class ListExperimentInput:
9258
+ """
9259
+
9260
+ :param sort_by:
9261
+ Sort order enumeration for list operations.
9262
+
9263
+ """
8947
9264
 
8948
9265
  workspace_id: str | None = None
8949
9266
  org_id: str = "juspay"
@@ -8959,6 +9276,7 @@ class ListExperimentInput:
8959
9276
  created_by: str | None = None
8960
9277
  sort_on: str | None = None
8961
9278
  sort_by: str | None = None
9279
+ global_experiments_only: bool | None = None
8962
9280
 
8963
9281
  def serialize(self, serializer: ShapeSerializer):
8964
9282
  serializer.write_struct(_SCHEMA_LIST_EXPERIMENT_INPUT, self)
@@ -9018,6 +9336,9 @@ class ListExperimentInput:
9018
9336
  case 13:
9019
9337
  kwargs["sort_by"] = de.read_string(_SCHEMA_LIST_EXPERIMENT_INPUT.members["sort_by"])
9020
9338
 
9339
+ case 14:
9340
+ kwargs["global_experiments_only"] = de.read_boolean(_SCHEMA_LIST_EXPERIMENT_INPUT.members["global_experiments_only"])
9341
+
9021
9342
  case _:
9022
9343
  logger.debug("Unexpected member schema: %s", schema)
9023
9344
 
@@ -9125,6 +9446,13 @@ class PauseExperimentInput:
9125
9446
 
9126
9447
  @dataclass(kw_only=True)
9127
9448
  class PauseExperimentOutput:
9449
+ """
9450
+
9451
+ :param context:
9452
+ **[Required]** - Represents conditional criteria used for context matching. Keys
9453
+ define dimension names and values specify the criteria that must be met.
9454
+
9455
+ """
9128
9456
 
9129
9457
  id: str
9130
9458
 
@@ -9339,6 +9667,13 @@ class RampExperimentInput:
9339
9667
 
9340
9668
  @dataclass(kw_only=True)
9341
9669
  class RampExperimentOutput:
9670
+ """
9671
+
9672
+ :param context:
9673
+ **[Required]** - Represents conditional criteria used for context matching. Keys
9674
+ define dimension names and values specify the criteria that must be met.
9675
+
9676
+ """
9342
9677
 
9343
9678
  id: str
9344
9679
 
@@ -9546,6 +9881,13 @@ class ResumeExperimentInput:
9546
9881
 
9547
9882
  @dataclass(kw_only=True)
9548
9883
  class ResumeExperimentOutput:
9884
+ """
9885
+
9886
+ :param context:
9887
+ **[Required]** - Represents conditional criteria used for context matching. Keys
9888
+ define dimension names and values specify the criteria that must be met.
9889
+
9890
+ """
9549
9891
 
9550
9892
  id: str
9551
9893
 
@@ -9834,6 +10176,13 @@ class UpdateOverridesExperimentInput:
9834
10176
 
9835
10177
  @dataclass(kw_only=True)
9836
10178
  class UpdateOverridesExperimentOutput:
10179
+ """
10180
+
10181
+ :param context:
10182
+ **[Required]** - Represents conditional criteria used for context matching. Keys
10183
+ define dimension names and values specify the criteria that must be met.
10184
+
10185
+ """
9837
10186
 
9838
10187
  id: str
9839
10188
 
@@ -11398,6 +11747,13 @@ class GetWebhookInput:
11398
11747
 
11399
11748
  @dataclass(kw_only=True)
11400
11749
  class GetWebhookOutput:
11750
+ """
11751
+
11752
+ :param custom_headers:
11753
+ Generic key-value object structure used for flexible data representation
11754
+ throughout the API.
11755
+
11756
+ """
11401
11757
 
11402
11758
  name: str
11403
11759
 
@@ -11790,6 +12146,13 @@ class ListWebhookInput:
11790
12146
 
11791
12147
  @dataclass(kw_only=True)
11792
12148
  class WebhookResponse:
12149
+ """
12150
+
12151
+ :param custom_headers:
12152
+ Generic key-value object structure used for flexible data representation
12153
+ throughout the API.
12154
+
12155
+ """
11793
12156
 
11794
12157
  name: str
11795
12158
 
@@ -12721,6 +13084,13 @@ ShapeID("io.superposition#InternalServerError"): InternalServerError,
12721
13084
 
12722
13085
  @dataclass(kw_only=True)
12723
13086
  class UpdateWebhookInput:
13087
+ """
13088
+
13089
+ :param custom_headers:
13090
+ Generic key-value object structure used for flexible data representation
13091
+ throughout the API.
13092
+
13093
+ """
12724
13094
 
12725
13095
  workspace_id: str | None = None
12726
13096
  org_id: str = "juspay"
@@ -12813,6 +13183,13 @@ class UpdateWebhookInput:
12813
13183
 
12814
13184
  @dataclass(kw_only=True)
12815
13185
  class UpdateWebhookOutput:
13186
+ """
13187
+
13188
+ :param custom_headers:
13189
+ Generic key-value object structure used for flexible data representation
13190
+ throughout the API.
13191
+
13192
+ """
12816
13193
 
12817
13194
  name: str
12818
13195
 
@@ -1444,6 +1444,8 @@ async def _serialize_list_experiment(input: ListExperimentInput, config: Config)
1444
1444
  query_params.append(("sort_on", input.sort_on))
1445
1445
  if input.sort_by is not None:
1446
1446
  query_params.append(("sort_by", input.sort_by))
1447
+ if input.global_experiments_only is not None:
1448
+ query_params.append(("global_experiments_only", ('true' if input.global_experiments_only else 'false')))
1447
1449
 
1448
1450
  query = join_query_params(params=query_params, prefix=query)
1449
1451
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: superposition_sdk
3
- Version: 0.88.0
3
+ Version: 0.89.0
4
4
  Summary: superposition_sdk client
5
5
  License: Apache-2.0
6
6
  Keywords: smithy,superposition_sdk
@@ -0,0 +1,12 @@
1
+ superposition_sdk/__init__.py,sha256=Inc_oe2U1CzZ_ZxsNVbU96RGaAlD-6M5xt1ZcW5hGUo,83
2
+ superposition_sdk/auth.py,sha256=U9D3FmOH8TX0cjibGy_CRnAkTnFEavAek0Jw1YUhN2g,404
3
+ superposition_sdk/client.py,sha256=SICMUtPJo3H_xYFXcofHZVZoRiYq_zFO7sMZP9Z5BHs,94384
4
+ superposition_sdk/config.py,sha256=elPULtcHP7am9Wk7VqIpzPMNlcQIdH1Do9gNeAkqdHM,11425
5
+ superposition_sdk/deserialize.py,sha256=fVUcHo_BtWwtINcbBWGXDVo0GmSPT0pEyDwEB6Jf82Y,77499
6
+ superposition_sdk/models.py,sha256=ooFJllHmXldDPYmV1daKwYbsDrnUAIr0TWePHAFJRK0,557184
7
+ superposition_sdk/serialize.py,sha256=Z-Jh_Et1VEPDDDv0hOShfr6ku_l8bNZR2S1YZbNcdpg,72891
8
+ superposition_sdk/_private/__init__.py,sha256=DxsJq42a0KfQv9zzLrqT0JVpoXrR-IDIYFGuJe4g1Gc,55
9
+ superposition_sdk/_private/schemas.py,sha256=glJ2WIDMEVkAofZoARyFqE4jLxd8nvYVXb1hDTikYKs,303394
10
+ superposition_sdk-0.89.0.dist-info/METADATA,sha256=oz0B1BC9cdRZ2dp3bHDrkpiZUFSjEe3CCXYOcNAOSpU,2280
11
+ superposition_sdk-0.89.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ superposition_sdk-0.89.0.dist-info/RECORD,,
@@ -1,12 +0,0 @@
1
- superposition_sdk/__init__.py,sha256=Inc_oe2U1CzZ_ZxsNVbU96RGaAlD-6M5xt1ZcW5hGUo,83
2
- superposition_sdk/auth.py,sha256=U9D3FmOH8TX0cjibGy_CRnAkTnFEavAek0Jw1YUhN2g,404
3
- superposition_sdk/client.py,sha256=mas4nI_bk32FXVUQMlOSa-S1Y4ewY8GIoDCIsy6kCCM,88710
4
- superposition_sdk/config.py,sha256=elPULtcHP7am9Wk7VqIpzPMNlcQIdH1Do9gNeAkqdHM,11425
5
- superposition_sdk/deserialize.py,sha256=fVUcHo_BtWwtINcbBWGXDVo0GmSPT0pEyDwEB6Jf82Y,77499
6
- superposition_sdk/models.py,sha256=JNV6ts9ouu_brSMfifEmOwBiIBLlawXFmjQfRv-UNeI,545296
7
- superposition_sdk/serialize.py,sha256=5naLDkPY1SBrHIuU_SGj05TCLcx7jR59BGy65tHYk58,72728
8
- superposition_sdk/_private/__init__.py,sha256=DxsJq42a0KfQv9zzLrqT0JVpoXrR-IDIYFGuJe4g1Gc,55
9
- superposition_sdk/_private/schemas.py,sha256=9UZVCgCoo4t7SnD0paDSSZXw3kLSNpt0fq0l8GrJ83Y,303088
10
- superposition_sdk-0.88.0.dist-info/METADATA,sha256=GuEO48KVwaVLii6kTJuR0bstrE7fgFohXKQnlyn--Oc,2280
11
- superposition_sdk-0.88.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
- superposition_sdk-0.88.0.dist-info/RECORD,,