rapidata 2.35.3__py3-none-any.whl → 2.36.1__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 rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +1 -1
- rapidata/api_client/__init__.py +25 -4
- rapidata/api_client/api/__init__.py +1 -0
- rapidata/api_client/api/benchmark_api.py +294 -0
- rapidata/api_client/api/campaign_api.py +268 -0
- rapidata/api_client/api/customer_rapid_api.py +247 -0
- rapidata/api_client/api/leaderboard_api.py +295 -6
- rapidata/api_client/api/pipeline_api.py +0 -873
- rapidata/api_client/api/sample_api.py +299 -0
- rapidata/api_client/api/validation_set_api.py +537 -312
- rapidata/api_client/models/__init__.py +24 -4
- rapidata/api_client/models/add_validation_rapid_model.py +12 -2
- rapidata/api_client/models/add_validation_rapid_model_truth.py +7 -1
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +268 -0
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +10 -1
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_leaderboard_model.py +32 -2
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/feature_flag_model.py +4 -4
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/get_compare_ab_summary_result.py +4 -2
- rapidata/api_client/models/get_leaderboard_by_id_result.py +29 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_sample_by_id_result.py +126 -0
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +29 -2
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/response_count_filter.py +109 -0
- rapidata/api_client/models/sample_by_identifier.py +126 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/update_leaderboard_model.py +91 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_set_model.py +54 -3
- rapidata/api_client_README.md +33 -10
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +26 -2
- rapidata/rapidata_client/order/rapidata_order_manager.py +298 -219
- rapidata/rapidata_client/workflow/_compare_workflow.py +7 -2
- rapidata/rapidata_client/workflow/_free_text_workflow.py +9 -2
- {rapidata-2.35.3.dist-info → rapidata-2.36.1.dist-info}/METADATA +1 -1
- {rapidata-2.35.3.dist-info → rapidata-2.36.1.dist-info}/RECORD +58 -32
- {rapidata-2.35.3.dist-info → rapidata-2.36.1.dist-info}/LICENSE +0 -0
- {rapidata-2.35.3.dist-info → rapidata-2.36.1.dist-info}/WHEEL +0 -0
|
@@ -33,6 +33,7 @@ from rapidata.api_client.models.runs_by_leaderboard_result_paged_result import R
|
|
|
33
33
|
from rapidata.api_client.models.standing_by_leaderboard_paged_result import StandingByLeaderboardPagedResult
|
|
34
34
|
from rapidata.api_client.models.standings_by_leaderboard_result import StandingsByLeaderboardResult
|
|
35
35
|
from rapidata.api_client.models.submit_participant_result import SubmitParticipantResult
|
|
36
|
+
from rapidata.api_client.models.update_leaderboard_model import UpdateLeaderboardModel
|
|
36
37
|
from rapidata.api_client.models.update_leaderboard_name_model import UpdateLeaderboardNameModel
|
|
37
38
|
from rapidata.api_client.models.update_leaderboard_response_config_model import UpdateLeaderboardResponseConfigModel
|
|
38
39
|
|
|
@@ -1152,7 +1153,7 @@ class LeaderboardApi:
|
|
|
1152
1153
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1153
1154
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1154
1155
|
) -> None:
|
|
1155
|
-
"""Updates the name of a leaderboard.
|
|
1156
|
+
"""(Deprecated) Updates the name of a leaderboard.
|
|
1156
1157
|
|
|
1157
1158
|
|
|
1158
1159
|
:param leaderboard_id: (required)
|
|
@@ -1180,6 +1181,7 @@ class LeaderboardApi:
|
|
|
1180
1181
|
:type _host_index: int, optional
|
|
1181
1182
|
:return: Returns the result object.
|
|
1182
1183
|
""" # noqa: E501
|
|
1184
|
+
warnings.warn("PUT /leaderboard/{leaderboardId}/name is deprecated.", DeprecationWarning)
|
|
1183
1185
|
|
|
1184
1186
|
_param = self._leaderboard_leaderboard_id_name_put_serialize(
|
|
1185
1187
|
leaderboard_id=leaderboard_id,
|
|
@@ -1222,7 +1224,7 @@ class LeaderboardApi:
|
|
|
1222
1224
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1223
1225
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1224
1226
|
) -> ApiResponse[None]:
|
|
1225
|
-
"""Updates the name of a leaderboard.
|
|
1227
|
+
"""(Deprecated) Updates the name of a leaderboard.
|
|
1226
1228
|
|
|
1227
1229
|
|
|
1228
1230
|
:param leaderboard_id: (required)
|
|
@@ -1250,6 +1252,7 @@ class LeaderboardApi:
|
|
|
1250
1252
|
:type _host_index: int, optional
|
|
1251
1253
|
:return: Returns the result object.
|
|
1252
1254
|
""" # noqa: E501
|
|
1255
|
+
warnings.warn("PUT /leaderboard/{leaderboardId}/name is deprecated.", DeprecationWarning)
|
|
1253
1256
|
|
|
1254
1257
|
_param = self._leaderboard_leaderboard_id_name_put_serialize(
|
|
1255
1258
|
leaderboard_id=leaderboard_id,
|
|
@@ -1292,7 +1295,7 @@ class LeaderboardApi:
|
|
|
1292
1295
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1293
1296
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1294
1297
|
) -> RESTResponseType:
|
|
1295
|
-
"""Updates the name of a leaderboard.
|
|
1298
|
+
"""(Deprecated) Updates the name of a leaderboard.
|
|
1296
1299
|
|
|
1297
1300
|
|
|
1298
1301
|
:param leaderboard_id: (required)
|
|
@@ -1320,6 +1323,7 @@ class LeaderboardApi:
|
|
|
1320
1323
|
:type _host_index: int, optional
|
|
1321
1324
|
:return: Returns the result object.
|
|
1322
1325
|
""" # noqa: E501
|
|
1326
|
+
warnings.warn("PUT /leaderboard/{leaderboardId}/name is deprecated.", DeprecationWarning)
|
|
1323
1327
|
|
|
1324
1328
|
_param = self._leaderboard_leaderboard_id_name_put_serialize(
|
|
1325
1329
|
leaderboard_id=leaderboard_id,
|
|
@@ -2532,6 +2536,288 @@ class LeaderboardApi:
|
|
|
2532
2536
|
|
|
2533
2537
|
|
|
2534
2538
|
|
|
2539
|
+
@validate_call
|
|
2540
|
+
def leaderboard_leaderboard_id_patch(
|
|
2541
|
+
self,
|
|
2542
|
+
leaderboard_id: StrictStr,
|
|
2543
|
+
update_leaderboard_model: Optional[UpdateLeaderboardModel] = None,
|
|
2544
|
+
_request_timeout: Union[
|
|
2545
|
+
None,
|
|
2546
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2547
|
+
Tuple[
|
|
2548
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2549
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2550
|
+
]
|
|
2551
|
+
] = None,
|
|
2552
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2553
|
+
_content_type: Optional[StrictStr] = None,
|
|
2554
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2555
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2556
|
+
) -> None:
|
|
2557
|
+
"""Updates the response config of a leaderboard.
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
:param leaderboard_id: (required)
|
|
2561
|
+
:type leaderboard_id: str
|
|
2562
|
+
:param update_leaderboard_model:
|
|
2563
|
+
:type update_leaderboard_model: UpdateLeaderboardModel
|
|
2564
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2565
|
+
number provided, it will be total request
|
|
2566
|
+
timeout. It can also be a pair (tuple) of
|
|
2567
|
+
(connection, read) timeouts.
|
|
2568
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2569
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2570
|
+
request; this effectively ignores the
|
|
2571
|
+
authentication in the spec for a single request.
|
|
2572
|
+
:type _request_auth: dict, optional
|
|
2573
|
+
:param _content_type: force content-type for the request.
|
|
2574
|
+
:type _content_type: str, Optional
|
|
2575
|
+
:param _headers: set to override the headers for a single
|
|
2576
|
+
request; this effectively ignores the headers
|
|
2577
|
+
in the spec for a single request.
|
|
2578
|
+
:type _headers: dict, optional
|
|
2579
|
+
:param _host_index: set to override the host_index for a single
|
|
2580
|
+
request; this effectively ignores the host_index
|
|
2581
|
+
in the spec for a single request.
|
|
2582
|
+
:type _host_index: int, optional
|
|
2583
|
+
:return: Returns the result object.
|
|
2584
|
+
""" # noqa: E501
|
|
2585
|
+
|
|
2586
|
+
_param = self._leaderboard_leaderboard_id_patch_serialize(
|
|
2587
|
+
leaderboard_id=leaderboard_id,
|
|
2588
|
+
update_leaderboard_model=update_leaderboard_model,
|
|
2589
|
+
_request_auth=_request_auth,
|
|
2590
|
+
_content_type=_content_type,
|
|
2591
|
+
_headers=_headers,
|
|
2592
|
+
_host_index=_host_index
|
|
2593
|
+
)
|
|
2594
|
+
|
|
2595
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2596
|
+
'204': None,
|
|
2597
|
+
}
|
|
2598
|
+
response_data = self.api_client.call_api(
|
|
2599
|
+
*_param,
|
|
2600
|
+
_request_timeout=_request_timeout
|
|
2601
|
+
)
|
|
2602
|
+
response_data.read()
|
|
2603
|
+
return self.api_client.response_deserialize(
|
|
2604
|
+
response_data=response_data,
|
|
2605
|
+
response_types_map=_response_types_map,
|
|
2606
|
+
).data
|
|
2607
|
+
|
|
2608
|
+
|
|
2609
|
+
@validate_call
|
|
2610
|
+
def leaderboard_leaderboard_id_patch_with_http_info(
|
|
2611
|
+
self,
|
|
2612
|
+
leaderboard_id: StrictStr,
|
|
2613
|
+
update_leaderboard_model: Optional[UpdateLeaderboardModel] = None,
|
|
2614
|
+
_request_timeout: Union[
|
|
2615
|
+
None,
|
|
2616
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2617
|
+
Tuple[
|
|
2618
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2619
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2620
|
+
]
|
|
2621
|
+
] = None,
|
|
2622
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2623
|
+
_content_type: Optional[StrictStr] = None,
|
|
2624
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2625
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2626
|
+
) -> ApiResponse[None]:
|
|
2627
|
+
"""Updates the response config of a leaderboard.
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
:param leaderboard_id: (required)
|
|
2631
|
+
:type leaderboard_id: str
|
|
2632
|
+
:param update_leaderboard_model:
|
|
2633
|
+
:type update_leaderboard_model: UpdateLeaderboardModel
|
|
2634
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2635
|
+
number provided, it will be total request
|
|
2636
|
+
timeout. It can also be a pair (tuple) of
|
|
2637
|
+
(connection, read) timeouts.
|
|
2638
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2639
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2640
|
+
request; this effectively ignores the
|
|
2641
|
+
authentication in the spec for a single request.
|
|
2642
|
+
:type _request_auth: dict, optional
|
|
2643
|
+
:param _content_type: force content-type for the request.
|
|
2644
|
+
:type _content_type: str, Optional
|
|
2645
|
+
:param _headers: set to override the headers for a single
|
|
2646
|
+
request; this effectively ignores the headers
|
|
2647
|
+
in the spec for a single request.
|
|
2648
|
+
:type _headers: dict, optional
|
|
2649
|
+
:param _host_index: set to override the host_index for a single
|
|
2650
|
+
request; this effectively ignores the host_index
|
|
2651
|
+
in the spec for a single request.
|
|
2652
|
+
:type _host_index: int, optional
|
|
2653
|
+
:return: Returns the result object.
|
|
2654
|
+
""" # noqa: E501
|
|
2655
|
+
|
|
2656
|
+
_param = self._leaderboard_leaderboard_id_patch_serialize(
|
|
2657
|
+
leaderboard_id=leaderboard_id,
|
|
2658
|
+
update_leaderboard_model=update_leaderboard_model,
|
|
2659
|
+
_request_auth=_request_auth,
|
|
2660
|
+
_content_type=_content_type,
|
|
2661
|
+
_headers=_headers,
|
|
2662
|
+
_host_index=_host_index
|
|
2663
|
+
)
|
|
2664
|
+
|
|
2665
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2666
|
+
'204': None,
|
|
2667
|
+
}
|
|
2668
|
+
response_data = self.api_client.call_api(
|
|
2669
|
+
*_param,
|
|
2670
|
+
_request_timeout=_request_timeout
|
|
2671
|
+
)
|
|
2672
|
+
response_data.read()
|
|
2673
|
+
return self.api_client.response_deserialize(
|
|
2674
|
+
response_data=response_data,
|
|
2675
|
+
response_types_map=_response_types_map,
|
|
2676
|
+
)
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
@validate_call
|
|
2680
|
+
def leaderboard_leaderboard_id_patch_without_preload_content(
|
|
2681
|
+
self,
|
|
2682
|
+
leaderboard_id: StrictStr,
|
|
2683
|
+
update_leaderboard_model: Optional[UpdateLeaderboardModel] = None,
|
|
2684
|
+
_request_timeout: Union[
|
|
2685
|
+
None,
|
|
2686
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2687
|
+
Tuple[
|
|
2688
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2689
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2690
|
+
]
|
|
2691
|
+
] = None,
|
|
2692
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2693
|
+
_content_type: Optional[StrictStr] = None,
|
|
2694
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2695
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2696
|
+
) -> RESTResponseType:
|
|
2697
|
+
"""Updates the response config of a leaderboard.
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
:param leaderboard_id: (required)
|
|
2701
|
+
:type leaderboard_id: str
|
|
2702
|
+
:param update_leaderboard_model:
|
|
2703
|
+
:type update_leaderboard_model: UpdateLeaderboardModel
|
|
2704
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2705
|
+
number provided, it will be total request
|
|
2706
|
+
timeout. It can also be a pair (tuple) of
|
|
2707
|
+
(connection, read) timeouts.
|
|
2708
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2709
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2710
|
+
request; this effectively ignores the
|
|
2711
|
+
authentication in the spec for a single request.
|
|
2712
|
+
:type _request_auth: dict, optional
|
|
2713
|
+
:param _content_type: force content-type for the request.
|
|
2714
|
+
:type _content_type: str, Optional
|
|
2715
|
+
:param _headers: set to override the headers for a single
|
|
2716
|
+
request; this effectively ignores the headers
|
|
2717
|
+
in the spec for a single request.
|
|
2718
|
+
:type _headers: dict, optional
|
|
2719
|
+
:param _host_index: set to override the host_index for a single
|
|
2720
|
+
request; this effectively ignores the host_index
|
|
2721
|
+
in the spec for a single request.
|
|
2722
|
+
:type _host_index: int, optional
|
|
2723
|
+
:return: Returns the result object.
|
|
2724
|
+
""" # noqa: E501
|
|
2725
|
+
|
|
2726
|
+
_param = self._leaderboard_leaderboard_id_patch_serialize(
|
|
2727
|
+
leaderboard_id=leaderboard_id,
|
|
2728
|
+
update_leaderboard_model=update_leaderboard_model,
|
|
2729
|
+
_request_auth=_request_auth,
|
|
2730
|
+
_content_type=_content_type,
|
|
2731
|
+
_headers=_headers,
|
|
2732
|
+
_host_index=_host_index
|
|
2733
|
+
)
|
|
2734
|
+
|
|
2735
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2736
|
+
'204': None,
|
|
2737
|
+
}
|
|
2738
|
+
response_data = self.api_client.call_api(
|
|
2739
|
+
*_param,
|
|
2740
|
+
_request_timeout=_request_timeout
|
|
2741
|
+
)
|
|
2742
|
+
return response_data.response
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
def _leaderboard_leaderboard_id_patch_serialize(
|
|
2746
|
+
self,
|
|
2747
|
+
leaderboard_id,
|
|
2748
|
+
update_leaderboard_model,
|
|
2749
|
+
_request_auth,
|
|
2750
|
+
_content_type,
|
|
2751
|
+
_headers,
|
|
2752
|
+
_host_index,
|
|
2753
|
+
) -> RequestSerialized:
|
|
2754
|
+
|
|
2755
|
+
_host = None
|
|
2756
|
+
|
|
2757
|
+
_collection_formats: Dict[str, str] = {
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
_path_params: Dict[str, str] = {}
|
|
2761
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2762
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2763
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2764
|
+
_files: Dict[
|
|
2765
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2766
|
+
] = {}
|
|
2767
|
+
_body_params: Optional[bytes] = None
|
|
2768
|
+
|
|
2769
|
+
# process the path parameters
|
|
2770
|
+
if leaderboard_id is not None:
|
|
2771
|
+
_path_params['leaderboardId'] = leaderboard_id
|
|
2772
|
+
# process the query parameters
|
|
2773
|
+
# process the header parameters
|
|
2774
|
+
# process the form parameters
|
|
2775
|
+
# process the body parameter
|
|
2776
|
+
if update_leaderboard_model is not None:
|
|
2777
|
+
_body_params = update_leaderboard_model
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
# set the HTTP header `Content-Type`
|
|
2782
|
+
if _content_type:
|
|
2783
|
+
_header_params['Content-Type'] = _content_type
|
|
2784
|
+
else:
|
|
2785
|
+
_default_content_type = (
|
|
2786
|
+
self.api_client.select_header_content_type(
|
|
2787
|
+
[
|
|
2788
|
+
'application/json',
|
|
2789
|
+
'text/json',
|
|
2790
|
+
'application/*+json'
|
|
2791
|
+
]
|
|
2792
|
+
)
|
|
2793
|
+
)
|
|
2794
|
+
if _default_content_type is not None:
|
|
2795
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2796
|
+
|
|
2797
|
+
# authentication setting
|
|
2798
|
+
_auth_settings: List[str] = [
|
|
2799
|
+
'bearer',
|
|
2800
|
+
'oauth2'
|
|
2801
|
+
]
|
|
2802
|
+
|
|
2803
|
+
return self.api_client.param_serialize(
|
|
2804
|
+
method='PATCH',
|
|
2805
|
+
resource_path='/leaderboard/{leaderboardId}',
|
|
2806
|
+
path_params=_path_params,
|
|
2807
|
+
query_params=_query_params,
|
|
2808
|
+
header_params=_header_params,
|
|
2809
|
+
body=_body_params,
|
|
2810
|
+
post_params=_form_params,
|
|
2811
|
+
files=_files,
|
|
2812
|
+
auth_settings=_auth_settings,
|
|
2813
|
+
collection_formats=_collection_formats,
|
|
2814
|
+
_host=_host,
|
|
2815
|
+
_request_auth=_request_auth
|
|
2816
|
+
)
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2535
2821
|
@validate_call
|
|
2536
2822
|
def leaderboard_leaderboard_id_prompts_get(
|
|
2537
2823
|
self,
|
|
@@ -3117,7 +3403,7 @@ class LeaderboardApi:
|
|
|
3117
3403
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3118
3404
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3119
3405
|
) -> None:
|
|
3120
|
-
"""Updates the response config of a leaderboard.
|
|
3406
|
+
"""(Deprecated) Updates the response config of a leaderboard.
|
|
3121
3407
|
|
|
3122
3408
|
|
|
3123
3409
|
:param leaderboard_id: (required)
|
|
@@ -3145,6 +3431,7 @@ class LeaderboardApi:
|
|
|
3145
3431
|
:type _host_index: int, optional
|
|
3146
3432
|
:return: Returns the result object.
|
|
3147
3433
|
""" # noqa: E501
|
|
3434
|
+
warnings.warn("PUT /leaderboard/{leaderboardId}/response-config is deprecated.", DeprecationWarning)
|
|
3148
3435
|
|
|
3149
3436
|
_param = self._leaderboard_leaderboard_id_response_config_put_serialize(
|
|
3150
3437
|
leaderboard_id=leaderboard_id,
|
|
@@ -3187,7 +3474,7 @@ class LeaderboardApi:
|
|
|
3187
3474
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3188
3475
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3189
3476
|
) -> ApiResponse[None]:
|
|
3190
|
-
"""Updates the response config of a leaderboard.
|
|
3477
|
+
"""(Deprecated) Updates the response config of a leaderboard.
|
|
3191
3478
|
|
|
3192
3479
|
|
|
3193
3480
|
:param leaderboard_id: (required)
|
|
@@ -3215,6 +3502,7 @@ class LeaderboardApi:
|
|
|
3215
3502
|
:type _host_index: int, optional
|
|
3216
3503
|
:return: Returns the result object.
|
|
3217
3504
|
""" # noqa: E501
|
|
3505
|
+
warnings.warn("PUT /leaderboard/{leaderboardId}/response-config is deprecated.", DeprecationWarning)
|
|
3218
3506
|
|
|
3219
3507
|
_param = self._leaderboard_leaderboard_id_response_config_put_serialize(
|
|
3220
3508
|
leaderboard_id=leaderboard_id,
|
|
@@ -3257,7 +3545,7 @@ class LeaderboardApi:
|
|
|
3257
3545
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3258
3546
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3259
3547
|
) -> RESTResponseType:
|
|
3260
|
-
"""Updates the response config of a leaderboard.
|
|
3548
|
+
"""(Deprecated) Updates the response config of a leaderboard.
|
|
3261
3549
|
|
|
3262
3550
|
|
|
3263
3551
|
:param leaderboard_id: (required)
|
|
@@ -3285,6 +3573,7 @@ class LeaderboardApi:
|
|
|
3285
3573
|
:type _host_index: int, optional
|
|
3286
3574
|
:return: Returns the result object.
|
|
3287
3575
|
""" # noqa: E501
|
|
3576
|
+
warnings.warn("PUT /leaderboard/{leaderboardId}/response-config is deprecated.", DeprecationWarning)
|
|
3288
3577
|
|
|
3289
3578
|
_param = self._leaderboard_leaderboard_id_response_config_put_serialize(
|
|
3290
3579
|
leaderboard_id=leaderboard_id,
|