superposition-sdk 0.88.1__py3-none-any.whl → 0.90.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.

@@ -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