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.
- superposition_sdk/_private/schemas.py +71 -6
- superposition_sdk/client.py +121 -56
- superposition_sdk/models.py +416 -5
- superposition_sdk/serialize.py +8 -0
- {superposition_sdk-0.88.1.dist-info → superposition_sdk-0.90.0.dist-info}/METADATA +1 -1
- superposition_sdk-0.90.0.dist-info/RECORD +12 -0
- superposition_sdk-0.88.1.dist-info/RECORD +0 -12
- {superposition_sdk-0.88.1.dist-info → superposition_sdk-0.90.0.dist-info}/WHEEL +0 -0
|
@@ -2680,6 +2680,31 @@ GET_CONTEXT_FROM_CONDITION = Schema(
|
|
|
2680
2680
|
|
|
2681
2681
|
)
|
|
2682
2682
|
|
|
2683
|
+
DIMENSION_MATCH_STRATEGY = Schema.collection(
|
|
2684
|
+
id=ShapeID("io.superposition#DimensionMatchStrategy"),
|
|
2685
|
+
shape_type=ShapeType.ENUM,
|
|
2686
|
+
members={
|
|
2687
|
+
"Exact": {
|
|
2688
|
+
"target": UNIT,
|
|
2689
|
+
"index": 0,
|
|
2690
|
+
"traits": [
|
|
2691
|
+
Trait.new(id=ShapeID("smithy.api#enumValue"), value="exact"),
|
|
2692
|
+
|
|
2693
|
+
],
|
|
2694
|
+
},
|
|
2695
|
+
|
|
2696
|
+
"Subset": {
|
|
2697
|
+
"target": UNIT,
|
|
2698
|
+
"index": 1,
|
|
2699
|
+
"traits": [
|
|
2700
|
+
Trait.new(id=ShapeID("smithy.api#enumValue"), value="subset"),
|
|
2701
|
+
|
|
2702
|
+
],
|
|
2703
|
+
},
|
|
2704
|
+
|
|
2705
|
+
}
|
|
2706
|
+
)
|
|
2707
|
+
|
|
2683
2708
|
SORT_BY = Schema.collection(
|
|
2684
2709
|
id=ShapeID("io.superposition#SortBy"),
|
|
2685
2710
|
shape_type=ShapeType.ENUM,
|
|
@@ -2788,9 +2813,19 @@ LIST_CONTEXTS_INPUT = Schema.collection(
|
|
|
2788
2813
|
],
|
|
2789
2814
|
},
|
|
2790
2815
|
|
|
2816
|
+
"all": {
|
|
2817
|
+
"target": BOOLEAN,
|
|
2818
|
+
"index": 4,
|
|
2819
|
+
"traits": [
|
|
2820
|
+
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2821
|
+
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="all"),
|
|
2822
|
+
|
|
2823
|
+
],
|
|
2824
|
+
},
|
|
2825
|
+
|
|
2791
2826
|
"prefix": {
|
|
2792
2827
|
"target": STRING,
|
|
2793
|
-
"index":
|
|
2828
|
+
"index": 5,
|
|
2794
2829
|
"traits": [
|
|
2795
2830
|
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2796
2831
|
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="prefix"),
|
|
@@ -2800,7 +2835,7 @@ LIST_CONTEXTS_INPUT = Schema.collection(
|
|
|
2800
2835
|
|
|
2801
2836
|
"sort_on": {
|
|
2802
2837
|
"target": CONTEXT_FILTER_SORT_ON,
|
|
2803
|
-
"index":
|
|
2838
|
+
"index": 6,
|
|
2804
2839
|
"traits": [
|
|
2805
2840
|
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2806
2841
|
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_on"),
|
|
@@ -2810,7 +2845,7 @@ LIST_CONTEXTS_INPUT = Schema.collection(
|
|
|
2810
2845
|
|
|
2811
2846
|
"sort_by": {
|
|
2812
2847
|
"target": SORT_BY,
|
|
2813
|
-
"index":
|
|
2848
|
+
"index": 7,
|
|
2814
2849
|
"traits": [
|
|
2815
2850
|
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2816
2851
|
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="sort_by"),
|
|
@@ -2820,7 +2855,7 @@ LIST_CONTEXTS_INPUT = Schema.collection(
|
|
|
2820
2855
|
|
|
2821
2856
|
"created_by": {
|
|
2822
2857
|
"target": STRING,
|
|
2823
|
-
"index":
|
|
2858
|
+
"index": 8,
|
|
2824
2859
|
"traits": [
|
|
2825
2860
|
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2826
2861
|
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="created_by"),
|
|
@@ -2830,7 +2865,7 @@ LIST_CONTEXTS_INPUT = Schema.collection(
|
|
|
2830
2865
|
|
|
2831
2866
|
"last_modified_by": {
|
|
2832
2867
|
"target": STRING,
|
|
2833
|
-
"index":
|
|
2868
|
+
"index": 9,
|
|
2834
2869
|
"traits": [
|
|
2835
2870
|
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2836
2871
|
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="last_modified_by"),
|
|
@@ -2840,7 +2875,7 @@ LIST_CONTEXTS_INPUT = Schema.collection(
|
|
|
2840
2875
|
|
|
2841
2876
|
"plaintext": {
|
|
2842
2877
|
"target": STRING,
|
|
2843
|
-
"index":
|
|
2878
|
+
"index": 10,
|
|
2844
2879
|
"traits": [
|
|
2845
2880
|
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2846
2881
|
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="plaintext"),
|
|
@@ -2848,6 +2883,16 @@ LIST_CONTEXTS_INPUT = Schema.collection(
|
|
|
2848
2883
|
],
|
|
2849
2884
|
},
|
|
2850
2885
|
|
|
2886
|
+
"dimension_match_strategy": {
|
|
2887
|
+
"target": DIMENSION_MATCH_STRATEGY,
|
|
2888
|
+
"index": 11,
|
|
2889
|
+
"traits": [
|
|
2890
|
+
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
2891
|
+
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="dimension_match_strategy"),
|
|
2892
|
+
|
|
2893
|
+
],
|
|
2894
|
+
},
|
|
2895
|
+
|
|
2851
2896
|
}
|
|
2852
2897
|
)
|
|
2853
2898
|
|
|
@@ -8971,6 +9016,26 @@ LIST_EXPERIMENT_INPUT = Schema.collection(
|
|
|
8971
9016
|
],
|
|
8972
9017
|
},
|
|
8973
9018
|
|
|
9019
|
+
"global_experiments_only": {
|
|
9020
|
+
"target": BOOLEAN,
|
|
9021
|
+
"index": 14,
|
|
9022
|
+
"traits": [
|
|
9023
|
+
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
9024
|
+
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="global_experiments_only"),
|
|
9025
|
+
|
|
9026
|
+
],
|
|
9027
|
+
},
|
|
9028
|
+
|
|
9029
|
+
"dimension_match_strategy": {
|
|
9030
|
+
"target": DIMENSION_MATCH_STRATEGY,
|
|
9031
|
+
"index": 15,
|
|
9032
|
+
"traits": [
|
|
9033
|
+
Trait.new(id=ShapeID("smithy.api#notProperty")),
|
|
9034
|
+
Trait.new(id=ShapeID("smithy.api#httpQuery"), value="dimension_match_strategy"),
|
|
9035
|
+
|
|
9036
|
+
],
|
|
9037
|
+
},
|
|
9038
|
+
|
|
8974
9039
|
}
|
|
8975
9040
|
)
|
|
8976
9041
|
|