superposition-sdk 0.91.0__py3-none-any.whl → 0.91.2__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.
- superposition_sdk/_private/schemas.py +88 -44
- superposition_sdk/models.py +354 -197
- {superposition_sdk-0.91.0.dist-info → superposition_sdk-0.91.2.dist-info}/METADATA +1 -1
- {superposition_sdk-0.91.0.dist-info → superposition_sdk-0.91.2.dist-info}/RECORD +5 -5
- {superposition_sdk-0.91.0.dist-info → superposition_sdk-0.91.2.dist-info}/WHEEL +0 -0
|
@@ -1649,6 +1649,72 @@ OBJECT = Schema.collection(
|
|
|
1649
1649
|
}
|
|
1650
1650
|
)
|
|
1651
1651
|
|
|
1652
|
+
DEPEDENDENCY_GRAPH = Schema.collection(
|
|
1653
|
+
id=ShapeID("io.superposition#DepedendencyGraph"),
|
|
1654
|
+
shape_type=ShapeType.MAP,
|
|
1655
|
+
members={
|
|
1656
|
+
"key": {
|
|
1657
|
+
"target": STRING,
|
|
1658
|
+
"index": 0,
|
|
1659
|
+
},
|
|
1660
|
+
|
|
1661
|
+
"value": {
|
|
1662
|
+
"target": STRING_LIST,
|
|
1663
|
+
"index": 1,
|
|
1664
|
+
},
|
|
1665
|
+
|
|
1666
|
+
}
|
|
1667
|
+
)
|
|
1668
|
+
|
|
1669
|
+
DIMENSION_TYPE = Schema.collection(
|
|
1670
|
+
id=ShapeID("io.superposition#DimensionType"),
|
|
1671
|
+
shape_type=ShapeType.UNION,
|
|
1672
|
+
members={
|
|
1673
|
+
"REGULAR": {
|
|
1674
|
+
"target": UNIT,
|
|
1675
|
+
"index": 0,
|
|
1676
|
+
},
|
|
1677
|
+
|
|
1678
|
+
"LOCAL_COHORT": {
|
|
1679
|
+
"target": STRING,
|
|
1680
|
+
"index": 1,
|
|
1681
|
+
},
|
|
1682
|
+
|
|
1683
|
+
"REMOTE_COHORT": {
|
|
1684
|
+
"target": STRING,
|
|
1685
|
+
"index": 2,
|
|
1686
|
+
},
|
|
1687
|
+
|
|
1688
|
+
}
|
|
1689
|
+
)
|
|
1690
|
+
|
|
1691
|
+
DIMENSION_INFO = Schema.collection(
|
|
1692
|
+
id=ShapeID("io.superposition#DimensionInfo"),
|
|
1693
|
+
|
|
1694
|
+
members={
|
|
1695
|
+
"schema": {
|
|
1696
|
+
"target": OBJECT,
|
|
1697
|
+
"index": 0,
|
|
1698
|
+
},
|
|
1699
|
+
|
|
1700
|
+
"position": {
|
|
1701
|
+
"target": INTEGER,
|
|
1702
|
+
"index": 1,
|
|
1703
|
+
},
|
|
1704
|
+
|
|
1705
|
+
"dimension_type": {
|
|
1706
|
+
"target": DIMENSION_TYPE,
|
|
1707
|
+
"index": 2,
|
|
1708
|
+
},
|
|
1709
|
+
|
|
1710
|
+
"dependency_graph": {
|
|
1711
|
+
"target": DEPEDENDENCY_GRAPH,
|
|
1712
|
+
"index": 3,
|
|
1713
|
+
},
|
|
1714
|
+
|
|
1715
|
+
}
|
|
1716
|
+
)
|
|
1717
|
+
|
|
1652
1718
|
DIMENSION_DATA = Schema.collection(
|
|
1653
1719
|
id=ShapeID("io.superposition#DimensionData"),
|
|
1654
1720
|
shape_type=ShapeType.MAP,
|
|
@@ -1659,7 +1725,7 @@ DIMENSION_DATA = Schema.collection(
|
|
|
1659
1725
|
},
|
|
1660
1726
|
|
|
1661
1727
|
"value": {
|
|
1662
|
-
"target":
|
|
1728
|
+
"target": DIMENSION_INFO,
|
|
1663
1729
|
"index": 1,
|
|
1664
1730
|
},
|
|
1665
1731
|
|
|
@@ -3414,7 +3480,7 @@ CREATE_DEFAULT_CONFIG_INPUT = Schema.collection(
|
|
|
3414
3480
|
},
|
|
3415
3481
|
|
|
3416
3482
|
"schema": {
|
|
3417
|
-
"target":
|
|
3483
|
+
"target": OBJECT,
|
|
3418
3484
|
"index": 2,
|
|
3419
3485
|
"traits": [
|
|
3420
3486
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -3502,7 +3568,7 @@ CREATE_DEFAULT_CONFIG_OUTPUT = Schema.collection(
|
|
|
3502
3568
|
},
|
|
3503
3569
|
|
|
3504
3570
|
"schema": {
|
|
3505
|
-
"target":
|
|
3571
|
+
"target": OBJECT,
|
|
3506
3572
|
"index": 2,
|
|
3507
3573
|
"traits": [
|
|
3508
3574
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -3590,28 +3656,6 @@ CREATE_DEFAULT_CONFIG = Schema(
|
|
|
3590
3656
|
|
|
3591
3657
|
)
|
|
3592
3658
|
|
|
3593
|
-
DIMENSION_TYPE = Schema.collection(
|
|
3594
|
-
id=ShapeID("io.superposition#DimensionType"),
|
|
3595
|
-
shape_type=ShapeType.UNION,
|
|
3596
|
-
members={
|
|
3597
|
-
"REGULAR": {
|
|
3598
|
-
"target": UNIT,
|
|
3599
|
-
"index": 0,
|
|
3600
|
-
},
|
|
3601
|
-
|
|
3602
|
-
"LOCAL_COHORT": {
|
|
3603
|
-
"target": STRING,
|
|
3604
|
-
"index": 1,
|
|
3605
|
-
},
|
|
3606
|
-
|
|
3607
|
-
"REMOTE_COHORT": {
|
|
3608
|
-
"target": STRING,
|
|
3609
|
-
"index": 2,
|
|
3610
|
-
},
|
|
3611
|
-
|
|
3612
|
-
}
|
|
3613
|
-
)
|
|
3614
|
-
|
|
3615
3659
|
CREATE_DIMENSION_INPUT = Schema.collection(
|
|
3616
3660
|
id=ShapeID("io.superposition#CreateDimensionInput"),
|
|
3617
3661
|
|
|
@@ -3660,7 +3704,7 @@ CREATE_DIMENSION_INPUT = Schema.collection(
|
|
|
3660
3704
|
},
|
|
3661
3705
|
|
|
3662
3706
|
"schema": {
|
|
3663
|
-
"target":
|
|
3707
|
+
"target": OBJECT,
|
|
3664
3708
|
"index": 4,
|
|
3665
3709
|
"traits": [
|
|
3666
3710
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -3732,7 +3776,7 @@ CREATE_DIMENSION_OUTPUT = Schema.collection(
|
|
|
3732
3776
|
},
|
|
3733
3777
|
|
|
3734
3778
|
"schema": {
|
|
3735
|
-
"target":
|
|
3779
|
+
"target": OBJECT,
|
|
3736
3780
|
"index": 2,
|
|
3737
3781
|
"traits": [
|
|
3738
3782
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -3800,7 +3844,7 @@ CREATE_DIMENSION_OUTPUT = Schema.collection(
|
|
|
3800
3844
|
},
|
|
3801
3845
|
|
|
3802
3846
|
"dependency_graph": {
|
|
3803
|
-
"target":
|
|
3847
|
+
"target": DEPEDENDENCY_GRAPH,
|
|
3804
3848
|
"index": 10,
|
|
3805
3849
|
"traits": [
|
|
3806
3850
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -4853,7 +4897,7 @@ CREATE_TYPE_TEMPLATES_INPUT = Schema.collection(
|
|
|
4853
4897
|
},
|
|
4854
4898
|
|
|
4855
4899
|
"type_schema": {
|
|
4856
|
-
"target":
|
|
4900
|
+
"target": OBJECT,
|
|
4857
4901
|
"index": 3,
|
|
4858
4902
|
"traits": [
|
|
4859
4903
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -4901,7 +4945,7 @@ CREATE_TYPE_TEMPLATES_OUTPUT = Schema.collection(
|
|
|
4901
4945
|
},
|
|
4902
4946
|
|
|
4903
4947
|
"type_schema": {
|
|
4904
|
-
"target":
|
|
4948
|
+
"target": OBJECT,
|
|
4905
4949
|
"index": 1,
|
|
4906
4950
|
"traits": [
|
|
4907
4951
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -5746,7 +5790,7 @@ DEFAULT_CONFIG_FULL = Schema.collection(
|
|
|
5746
5790
|
},
|
|
5747
5791
|
|
|
5748
5792
|
"schema": {
|
|
5749
|
-
"target":
|
|
5793
|
+
"target": OBJECT,
|
|
5750
5794
|
"index": 2,
|
|
5751
5795
|
"traits": [
|
|
5752
5796
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -5927,7 +5971,7 @@ UPDATE_DEFAULT_CONFIG_INPUT = Schema.collection(
|
|
|
5927
5971
|
},
|
|
5928
5972
|
|
|
5929
5973
|
"schema": {
|
|
5930
|
-
"target":
|
|
5974
|
+
"target": OBJECT,
|
|
5931
5975
|
"index": 5,
|
|
5932
5976
|
},
|
|
5933
5977
|
|
|
@@ -5977,7 +6021,7 @@ UPDATE_DEFAULT_CONFIG_OUTPUT = Schema.collection(
|
|
|
5977
6021
|
},
|
|
5978
6022
|
|
|
5979
6023
|
"schema": {
|
|
5980
|
-
"target":
|
|
6024
|
+
"target": OBJECT,
|
|
5981
6025
|
"index": 2,
|
|
5982
6026
|
"traits": [
|
|
5983
6027
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -6468,7 +6512,7 @@ DELETE_TYPE_TEMPLATES_OUTPUT = Schema.collection(
|
|
|
6468
6512
|
},
|
|
6469
6513
|
|
|
6470
6514
|
"type_schema": {
|
|
6471
|
-
"target":
|
|
6515
|
+
"target": OBJECT,
|
|
6472
6516
|
"index": 1,
|
|
6473
6517
|
"traits": [
|
|
6474
6518
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -6628,7 +6672,7 @@ GET_DIMENSION_OUTPUT = Schema.collection(
|
|
|
6628
6672
|
},
|
|
6629
6673
|
|
|
6630
6674
|
"schema": {
|
|
6631
|
-
"target":
|
|
6675
|
+
"target": OBJECT,
|
|
6632
6676
|
"index": 2,
|
|
6633
6677
|
"traits": [
|
|
6634
6678
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -6696,7 +6740,7 @@ GET_DIMENSION_OUTPUT = Schema.collection(
|
|
|
6696
6740
|
},
|
|
6697
6741
|
|
|
6698
6742
|
"dependency_graph": {
|
|
6699
|
-
"target":
|
|
6743
|
+
"target": DEPEDENDENCY_GRAPH,
|
|
6700
6744
|
"index": 10,
|
|
6701
6745
|
"traits": [
|
|
6702
6746
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -6825,7 +6869,7 @@ DIMENSION_EXT = Schema.collection(
|
|
|
6825
6869
|
},
|
|
6826
6870
|
|
|
6827
6871
|
"schema": {
|
|
6828
|
-
"target":
|
|
6872
|
+
"target": OBJECT,
|
|
6829
6873
|
"index": 2,
|
|
6830
6874
|
"traits": [
|
|
6831
6875
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -6893,7 +6937,7 @@ DIMENSION_EXT = Schema.collection(
|
|
|
6893
6937
|
},
|
|
6894
6938
|
|
|
6895
6939
|
"dependency_graph": {
|
|
6896
|
-
"target":
|
|
6940
|
+
"target": DEPEDENDENCY_GRAPH,
|
|
6897
6941
|
"index": 10,
|
|
6898
6942
|
"traits": [
|
|
6899
6943
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -7019,7 +7063,7 @@ UPDATE_DIMENSION_INPUT = Schema.collection(
|
|
|
7019
7063
|
},
|
|
7020
7064
|
|
|
7021
7065
|
"schema": {
|
|
7022
|
-
"target":
|
|
7066
|
+
"target": OBJECT,
|
|
7023
7067
|
"index": 3,
|
|
7024
7068
|
},
|
|
7025
7069
|
|
|
@@ -7083,7 +7127,7 @@ UPDATE_DIMENSION_OUTPUT = Schema.collection(
|
|
|
7083
7127
|
},
|
|
7084
7128
|
|
|
7085
7129
|
"schema": {
|
|
7086
|
-
"target":
|
|
7130
|
+
"target": OBJECT,
|
|
7087
7131
|
"index": 2,
|
|
7088
7132
|
"traits": [
|
|
7089
7133
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -7151,7 +7195,7 @@ UPDATE_DIMENSION_OUTPUT = Schema.collection(
|
|
|
7151
7195
|
},
|
|
7152
7196
|
|
|
7153
7197
|
"dependency_graph": {
|
|
7154
|
-
"target":
|
|
7198
|
+
"target": DEPEDENDENCY_GRAPH,
|
|
7155
7199
|
"index": 10,
|
|
7156
7200
|
"traits": [
|
|
7157
7201
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -11289,7 +11333,7 @@ TYPE_TEMPLATES_RESPONSE = Schema.collection(
|
|
|
11289
11333
|
},
|
|
11290
11334
|
|
|
11291
11335
|
"type_schema": {
|
|
11292
|
-
"target":
|
|
11336
|
+
"target": OBJECT,
|
|
11293
11337
|
"index": 1,
|
|
11294
11338
|
"traits": [
|
|
11295
11339
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -12703,7 +12747,7 @@ UPDATE_TYPE_TEMPLATES_INPUT = Schema.collection(
|
|
|
12703
12747
|
},
|
|
12704
12748
|
|
|
12705
12749
|
"type_schema": {
|
|
12706
|
-
"target":
|
|
12750
|
+
"target": OBJECT,
|
|
12707
12751
|
"index": 3,
|
|
12708
12752
|
"traits": [
|
|
12709
12753
|
Trait.new(id=ShapeID("smithy.api#required")),
|
|
@@ -12747,7 +12791,7 @@ UPDATE_TYPE_TEMPLATES_OUTPUT = Schema.collection(
|
|
|
12747
12791
|
},
|
|
12748
12792
|
|
|
12749
12793
|
"type_schema": {
|
|
12750
|
-
"target":
|
|
12794
|
+
"target": OBJECT,
|
|
12751
12795
|
"index": 1,
|
|
12752
12796
|
"traits": [
|
|
12753
12797
|
Trait.new(id=ShapeID("smithy.api#required")),
|