Skip to content

Commit c54dec9

Browse files
authored
Merge pull request #49 from gsunner/version-bump-1-6-0
bump version to 1.6.0
2 parents 12e0bdc + aad8dd4 commit c54dec9

33 files changed

+761
-382
lines changed

config/python.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"projectName": "seldon-deploy-sdk",
33
"packageName": "seldon_deploy_sdk",
4-
"packageVersion": "1.5.0",
4+
"packageVersion": "1.6.0",
55
"packageUrl": "https://deploy.seldon.io"
66
}

python/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ API to interact and manage the lifecycle of your machine learning models deploye
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: v1alpha1
7-
- Package version: 1.5.0
7+
- Package version: 1.6.0
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
@@ -156,6 +156,7 @@ Class | Method | HTTP request | Description
156156
*PermissionManagementServiceApi* | [**permission_management_service_get_policy_targets**](docs/PermissionManagementServiceApi.md#permission_management_service_get_policy_targets) | **GET** /iam/policy/targets | List all users and groups who have access to the given resource/action pair. The user calling this endpoint must have `grant` access to the given resource.
157157
*PermissionManagementServiceApi* | [**permission_management_service_get_user_groups**](docs/PermissionManagementServiceApi.md#permission_management_service_get_user_groups) | **GET** /iam/users/{username}/groups | Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. List all groups of a user. The caller must have `read` permission on `system/iam`.
158158
*PermissionManagementServiceApi* | [**permission_management_service_get_users**](docs/PermissionManagementServiceApi.md#permission_management_service_get_users) | **GET** /iam/users | Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. List users. The caller must have `read` permission on `system/iam`.
159+
*PermissionManagementServiceApi* | [**permission_management_service_reset_user_password**](docs/PermissionManagementServiceApi.md#permission_management_service_reset_user_password) | **POST** /iam/users/{username}/resetPassword | Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. Sends an email to the user with a link to reset their password. The caller must have `write` permission on `system/iam`.
159160
*PredictApi* | [**predict_file_inference_service**](docs/PredictApi.md#predict_file_inference_service) | **POST** /namespaces/{namespace}/inferenceservices/{name}/predictfile |
160161
*PredictApi* | [**predict_file_seldon_deployment**](docs/PredictApi.md#predict_file_seldon_deployment) | **POST** /namespaces/{namespace}/seldondeployments/{name}/predictfile |
161162
*PredictApi* | [**predict_inference_service**](docs/PredictApi.md#predict_inference_service) | **POST** /namespaces/{namespace}/inferenceservices/{name}/predict |
@@ -186,7 +187,6 @@ Class | Method | HTTP request | Description
186187
- [Affinity](docs/Affinity.md)
187188
- [AlibiExplainerSpec](docs/AlibiExplainerSpec.md)
188189
- [AlibiExplainerType](docs/AlibiExplainerType.md)
189-
- [AnalyticsProps](docs/AnalyticsProps.md)
190190
- [ApplicationLog](docs/ApplicationLog.md)
191191
- [ApplicationLogsParams](docs/ApplicationLogsParams.md)
192192
- [ApplicationLogsResponse](docs/ApplicationLogsResponse.md)
@@ -446,6 +446,7 @@ Class | Method | HTTP request | Description
446446
- [V1CreateUserRequest](docs/V1CreateUserRequest.md)
447447
- [V1CreateUserResponse](docs/V1CreateUserResponse.md)
448448
- [V1DataType](docs/V1DataType.md)
449+
- [V1DefaultProtocol](docs/V1DefaultProtocol.md)
449450
- [V1DeleteGroupResponse](docs/V1DeleteGroupResponse.md)
450451
- [V1DeletePolicyResponse](docs/V1DeletePolicyResponse.md)
451452
- [V1DeleteSecretResponse](docs/V1DeleteSecretResponse.md)
@@ -475,7 +476,9 @@ Class | Method | HTTP request | Description
475476
- [V1Policy](docs/V1Policy.md)
476477
- [V1PredictionSchema](docs/V1PredictionSchema.md)
477478
- [V1RcloneConfig](docs/V1RcloneConfig.md)
479+
- [V1ResetUserPasswordResponse](docs/V1ResetUserPasswordResponse.md)
478480
- [V1ResourceActionPair](docs/V1ResourceActionPair.md)
481+
- [V1RuntimeDefaults](docs/V1RuntimeDefaults.md)
479482
- [V1RuntimeMetadata](docs/V1RuntimeMetadata.md)
480483
- [V1RuntimeMetadataListResponse](docs/V1RuntimeMetadataListResponse.md)
481484
- [V1S3Credentials](docs/V1S3Credentials.md)

python/docs/AnalyticsProps.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

python/docs/BasicDetectorConfiguration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**drift_batch_size** | **str** | | [optional]
7+
**drift_type_feature** | **bool** | | [optional]
78
**env_secret_ref** | **str** | | [optional]
89
**storage_uri** | **str** | | [optional]
910

python/docs/ModelMetadataServiceApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
114114
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
115115

116116
# **model_metadata_service_list_model_metadata**
117-
> V1ModelMetadataListResponse model_metadata_service_list_model_metadata(uri=uri, name=name, version=version, artifact_type=artifact_type, task_type=task_type, model_type=model_type, query=query, page_size=page_size, page_token=page_token, list_mask=list_mask, project=project, order_by=order_by)
117+
> V1ModelMetadataListResponse model_metadata_service_list_model_metadata(uri=uri, name=name, version=version, artifact_type=artifact_type, task_type=task_type, model_type=model_type, query=query, page_size=page_size, page_token=page_token, list_mask=list_mask, project=project, order_by=order_by, default_protocol=default_protocol)
118118
119119
List Model Metadata entries.
120120

@@ -148,10 +148,11 @@ page_token = 'page_token_example' # str | Optional. A pagination token returned
148148
list_mask = 'list_mask_example' # str | Optional. Can be used to specify which fields of Model you wish to return in the response. If left empty all fields will be returned. (optional)
149149
project = 'project_example' # str | (optional)
150150
order_by = 'order_by_example' # str | The order in which to return the model metadata. The string value should follow SQL syntax: comma separated list of fields. The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. Valid field names include: uri, name, version, project, artifact_type, task_type. (optional)
151+
default_protocol = 'PROTOCOL_UNKNOWN' # str | (optional) (default to PROTOCOL_UNKNOWN)
151152

152153
try:
153154
# List Model Metadata entries.
154-
api_response = api_instance.model_metadata_service_list_model_metadata(uri=uri, name=name, version=version, artifact_type=artifact_type, task_type=task_type, model_type=model_type, tags=tags, metrics=metrics, query=query, page_size=page_size, page_token=page_token, list_mask=list_mask, project=project, order_by=order_by)
155+
api_response = api_instance.model_metadata_service_list_model_metadata(uri=uri, name=name, version=version, artifact_type=artifact_type, task_type=task_type, model_type=model_type, tags=tags, metrics=metrics, query=query, page_size=page_size, page_token=page_token, list_mask=list_mask, project=project, order_by=order_by, default_protocol=default_protocol)
155156
pprint(api_response)
156157
except ApiException as e:
157158
print("Exception when calling ModelMetadataServiceApi->model_metadata_service_list_model_metadata: %s\n" % e)
@@ -175,6 +176,7 @@ Name | Type | Description | Notes
175176
**list_mask** | **str**| Optional. Can be used to specify which fields of Model you wish to return in the response. If left empty all fields will be returned. | [optional]
176177
**project** | **str**| | [optional]
177178
**order_by** | **str**| The order in which to return the model metadata. The string value should follow SQL syntax: comma separated list of fields. The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. Valid field names include: uri, name, version, project, artifact_type, task_type. | [optional]
179+
**default_protocol** | **str**| | [optional] [default to PROTOCOL_UNKNOWN]
178180

179181
### Return type
180182

python/docs/PermissionManagementServiceApi.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Method | HTTP request | Description
1818
[**permission_management_service_get_policy_targets**](PermissionManagementServiceApi.md#permission_management_service_get_policy_targets) | **GET** /iam/policy/targets | List all users and groups who have access to the given resource/action pair. The user calling this endpoint must have `grant` access to the given resource.
1919
[**permission_management_service_get_user_groups**](PermissionManagementServiceApi.md#permission_management_service_get_user_groups) | **GET** /iam/users/{username}/groups | Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. List all groups of a user. The caller must have `read` permission on `system/iam`.
2020
[**permission_management_service_get_users**](PermissionManagementServiceApi.md#permission_management_service_get_users) | **GET** /iam/users | Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. List users. The caller must have `read` permission on `system/iam`.
21+
[**permission_management_service_reset_user_password**](PermissionManagementServiceApi.md#permission_management_service_reset_user_password) | **POST** /iam/users/{username}/resetPassword | Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. Sends an email to the user with a link to reset their password. The caller must have `write` permission on `system/iam`.
2122

2223

2324
# **permission_management_service_add_user_to_group**
@@ -738,3 +739,53 @@ Name | Type | Description | Notes
738739

739740
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
740741

742+
# **permission_management_service_reset_user_password**
743+
> V1ResetUserPasswordResponse permission_management_service_reset_user_password(username)
744+
745+
Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. Sends an email to the user with a link to reset their password. The caller must have `write` permission on `system/iam`.
746+
747+
### Example
748+
```python
749+
from __future__ import print_function
750+
import time
751+
import seldon_deploy_sdk
752+
from seldon_deploy_sdk.rest import ApiException
753+
from pprint import pprint
754+
755+
# Configure OAuth2 access token for authorization: OAuth2
756+
configuration = seldon_deploy_sdk.Configuration()
757+
configuration.access_token = 'YOUR_ACCESS_TOKEN'
758+
759+
# create an instance of the API class
760+
api_instance = seldon_deploy_sdk.PermissionManagementServiceApi(seldon_deploy_sdk.ApiClient(configuration))
761+
username = 'username_example' # str | The username of the user to be deleted.
762+
763+
try:
764+
# Endpoint is available only when user management is enabled configured - refer to the docs for how to do this. Sends an email to the user with a link to reset their password. The caller must have `write` permission on `system/iam`.
765+
api_response = api_instance.permission_management_service_reset_user_password(username)
766+
pprint(api_response)
767+
except ApiException as e:
768+
print("Exception when calling PermissionManagementServiceApi->permission_management_service_reset_user_password: %s\n" % e)
769+
```
770+
771+
### Parameters
772+
773+
Name | Type | Description | Notes
774+
------------- | ------------- | ------------- | -------------
775+
**username** | **str**| The username of the user to be deleted. |
776+
777+
### Return type
778+
779+
[**V1ResetUserPasswordResponse**](V1ResetUserPasswordResponse.md)
780+
781+
### Authorization
782+
783+
[OAuth2](../README.md#OAuth2)
784+
785+
### HTTP request headers
786+
787+
- **Content-Type**: application/json
788+
- **Accept**: application/json
789+
790+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
791+

python/docs/V1DefaultProtocol.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# V1DefaultProtocol
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
8+
9+

python/docs/V1Model.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**creation_time** | **datetime** | The creation timestamp for the model metadata entry. It is automatically created by the Metadata service and cannot be modified. The timestamp is using the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format/ | [optional]
1414
**prediction_schema** | [**V1PredictionSchema**](V1PredictionSchema.md) | The schema defining the inputs/outputs for the given model. | [optional]
1515
**project** | **str** | The project that this model belongs to. | [optional]
16+
**runtime_defaults** | [**V1RuntimeDefaults**](V1RuntimeDefaults.md) | Default values used when deploying this model. | [optional]
1617

1718
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1819

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# V1ResetUserPasswordResponse
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
8+
9+

python/docs/V1RuntimeDefaults.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# V1RuntimeDefaults
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**default_protocol** | [**V1DefaultProtocol**](V1DefaultProtocol.md) | The default protocol used for REST/gRPC requests to the model. It is possible that a model can be used with multiple protocols. | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+

0 commit comments

Comments
 (0)