Skip to content

Commit

Permalink
bump version to 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gsunner committed Aug 23, 2022
1 parent 12e0bdc commit aad8dd4
Show file tree
Hide file tree
Showing 33 changed files with 761 additions and 382 deletions.
2 changes: 1 addition & 1 deletion config/python.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": "seldon-deploy-sdk",
"packageName": "seldon_deploy_sdk",
"packageVersion": "1.5.0",
"packageVersion": "1.6.0",
"packageUrl": "https://deploy.seldon.io"
}
7 changes: 5 additions & 2 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ API to interact and manage the lifecycle of your machine learning models deploye
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: v1alpha1
- Package version: 1.5.0
- Package version: 1.6.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -156,6 +156,7 @@ Class | Method | HTTP request | Description
*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.
*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`.
*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`.
*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`.
*PredictApi* | [**predict_file_inference_service**](docs/PredictApi.md#predict_file_inference_service) | **POST** /namespaces/{namespace}/inferenceservices/{name}/predictfile |
*PredictApi* | [**predict_file_seldon_deployment**](docs/PredictApi.md#predict_file_seldon_deployment) | **POST** /namespaces/{namespace}/seldondeployments/{name}/predictfile |
*PredictApi* | [**predict_inference_service**](docs/PredictApi.md#predict_inference_service) | **POST** /namespaces/{namespace}/inferenceservices/{name}/predict |
Expand Down Expand Up @@ -186,7 +187,6 @@ Class | Method | HTTP request | Description
- [Affinity](docs/Affinity.md)
- [AlibiExplainerSpec](docs/AlibiExplainerSpec.md)
- [AlibiExplainerType](docs/AlibiExplainerType.md)
- [AnalyticsProps](docs/AnalyticsProps.md)
- [ApplicationLog](docs/ApplicationLog.md)
- [ApplicationLogsParams](docs/ApplicationLogsParams.md)
- [ApplicationLogsResponse](docs/ApplicationLogsResponse.md)
Expand Down Expand Up @@ -446,6 +446,7 @@ Class | Method | HTTP request | Description
- [V1CreateUserRequest](docs/V1CreateUserRequest.md)
- [V1CreateUserResponse](docs/V1CreateUserResponse.md)
- [V1DataType](docs/V1DataType.md)
- [V1DefaultProtocol](docs/V1DefaultProtocol.md)
- [V1DeleteGroupResponse](docs/V1DeleteGroupResponse.md)
- [V1DeletePolicyResponse](docs/V1DeletePolicyResponse.md)
- [V1DeleteSecretResponse](docs/V1DeleteSecretResponse.md)
Expand Down Expand Up @@ -475,7 +476,9 @@ Class | Method | HTTP request | Description
- [V1Policy](docs/V1Policy.md)
- [V1PredictionSchema](docs/V1PredictionSchema.md)
- [V1RcloneConfig](docs/V1RcloneConfig.md)
- [V1ResetUserPasswordResponse](docs/V1ResetUserPasswordResponse.md)
- [V1ResourceActionPair](docs/V1ResourceActionPair.md)
- [V1RuntimeDefaults](docs/V1RuntimeDefaults.md)
- [V1RuntimeMetadata](docs/V1RuntimeMetadata.md)
- [V1RuntimeMetadataListResponse](docs/V1RuntimeMetadataListResponse.md)
- [V1S3Credentials](docs/V1S3Credentials.md)
Expand Down
17 changes: 0 additions & 17 deletions python/docs/AnalyticsProps.md

This file was deleted.

1 change: 1 addition & 0 deletions python/docs/BasicDetectorConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**drift_batch_size** | **str** | | [optional]
**drift_type_feature** | **bool** | | [optional]
**env_secret_ref** | **str** | | [optional]
**storage_uri** | **str** | | [optional]

Expand Down
6 changes: 4 additions & 2 deletions python/docs/ModelMetadataServiceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Name | Type | Description | Notes
[[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)

# **model_metadata_service_list_model_metadata**
> 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)
> 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)
List Model Metadata entries.

Expand Down Expand Up @@ -148,10 +148,11 @@ page_token = 'page_token_example' # str | Optional. A pagination token returned
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)
project = 'project_example' # str | (optional)
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)
default_protocol = 'PROTOCOL_UNKNOWN' # str | (optional) (default to PROTOCOL_UNKNOWN)

try:
# List Model Metadata entries.
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)
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)
pprint(api_response)
except ApiException as e:
print("Exception when calling ModelMetadataServiceApi->model_metadata_service_list_model_metadata: %s\n" % e)
Expand All @@ -175,6 +176,7 @@ Name | Type | Description | Notes
**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]
**project** | **str**| | [optional]
**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]
**default_protocol** | **str**| | [optional] [default to PROTOCOL_UNKNOWN]

### Return type

Expand Down
51 changes: 51 additions & 0 deletions python/docs/PermissionManagementServiceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Method | HTTP request | Description
[**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.
[**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`.
[**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`.
[**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`.


# **permission_management_service_add_user_to_group**
Expand Down Expand Up @@ -738,3 +739,53 @@ Name | Type | Description | Notes

[[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)

# **permission_management_service_reset_user_password**
> V1ResetUserPasswordResponse permission_management_service_reset_user_password(username)
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`.

### Example
```python
from __future__ import print_function
import time
import seldon_deploy_sdk
from seldon_deploy_sdk.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: OAuth2
configuration = seldon_deploy_sdk.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = seldon_deploy_sdk.PermissionManagementServiceApi(seldon_deploy_sdk.ApiClient(configuration))
username = 'username_example' # str | The username of the user to be deleted.

try:
# 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`.
api_response = api_instance.permission_management_service_reset_user_password(username)
pprint(api_response)
except ApiException as e:
print("Exception when calling PermissionManagementServiceApi->permission_management_service_reset_user_password: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **str**| The username of the user to be deleted. |

### Return type

[**V1ResetUserPasswordResponse**](V1ResetUserPasswordResponse.md)

### Authorization

[OAuth2](../README.md#OAuth2)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[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)

9 changes: 9 additions & 0 deletions python/docs/V1DefaultProtocol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# V1DefaultProtocol

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

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


1 change: 1 addition & 0 deletions python/docs/V1Model.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**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]
**prediction_schema** | [**V1PredictionSchema**](V1PredictionSchema.md) | The schema defining the inputs/outputs for the given model. | [optional]
**project** | **str** | The project that this model belongs to. | [optional]
**runtime_defaults** | [**V1RuntimeDefaults**](V1RuntimeDefaults.md) | Default values used when deploying this model. | [optional]

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

Expand Down
9 changes: 9 additions & 0 deletions python/docs/V1ResetUserPasswordResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# V1ResetUserPasswordResponse

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

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


10 changes: 10 additions & 0 deletions python/docs/V1RuntimeDefaults.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# V1RuntimeDefaults

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]

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


1 change: 1 addition & 0 deletions python/docs/V1RuntimeMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Name | Type | Description | Notes
**shadow** | **bool** | True if this model is a shadow in the deployment. | [optional]
**creation_time** | **datetime** | The creation timestamp for the runtime 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]
**model** | [**V1Model**](V1Model.md) | Detailed metadata of the model referenced in this runtime metadata entry. | [optional]
**explainer** | **bool** | True if this model is a explainer in the deployment. | [optional]

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

Expand Down
10 changes: 5 additions & 5 deletions python/licenses/license.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


certifi
2021.10.8
2022.6.15
Mozilla Public License 2.0 (MPL 2.0)
This package contains a modified version of ca-bundle.crt:

Expand All @@ -59,7 +59,7 @@ one at http://mozilla.org/MPL/2.0/.


cffi
1.15.0
1.15.1
MIT License

Except when otherwise stated (look for LICENSE files in directories or
Expand Down Expand Up @@ -90,7 +90,7 @@ documentation is licensed as follows:


cryptography
36.0.2
37.0.4
Apache Software License; BSD License
This software is made available under the terms of *either* of the licenses
found in LICENSE.APACHE or LICENSE.BSD. Contributions to cryptography are made
Expand Down Expand Up @@ -191,7 +191,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The above BSD License Applies to all code, even that also covered by Apache 2.0.

seldon-deploy-sdk
1.5.0
1.6.0
UNKNOWN
UNKNOWN

Expand Down Expand Up @@ -219,7 +219,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


urllib3
1.26.9
1.26.12
MIT License
MIT License

Expand Down
10 changes: 5 additions & 5 deletions python/licenses/license_info.csv
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"Name","Version","License"
"Authlib","0.15.5","BSD License"
"certifi","2021.10.8","Mozilla Public License 2.0 (MPL 2.0)"
"cffi","1.15.0","MIT License"
"cryptography","36.0.2","Apache Software License; BSD License"
"certifi","2022.6.15","Mozilla Public License 2.0 (MPL 2.0)"
"cffi","1.15.1","MIT License"
"cryptography","37.0.4","Apache Software License; BSD License"
"pycparser","2.21","BSD License"
"python-dateutil","2.8.2","Apache Software License; BSD License"
"seldon-deploy-sdk","1.5.0","UNKNOWN"
"seldon-deploy-sdk","1.6.0","UNKNOWN"
"six","1.16.0","MIT License"
"urllib3","1.26.9","MIT License"
"urllib3","1.26.12","MIT License"
4 changes: 3 additions & 1 deletion python/seldon_deploy_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
from seldon_deploy_sdk.models.affinity import Affinity
from seldon_deploy_sdk.models.alibi_explainer_spec import AlibiExplainerSpec
from seldon_deploy_sdk.models.alibi_explainer_type import AlibiExplainerType
from seldon_deploy_sdk.models.analytics_props import AnalyticsProps
from seldon_deploy_sdk.models.application_log import ApplicationLog
from seldon_deploy_sdk.models.application_logs_params import ApplicationLogsParams
from seldon_deploy_sdk.models.application_logs_response import ApplicationLogsResponse
Expand Down Expand Up @@ -307,6 +306,7 @@
from seldon_deploy_sdk.models.v1_create_user_request import V1CreateUserRequest
from seldon_deploy_sdk.models.v1_create_user_response import V1CreateUserResponse
from seldon_deploy_sdk.models.v1_data_type import V1DataType
from seldon_deploy_sdk.models.v1_default_protocol import V1DefaultProtocol
from seldon_deploy_sdk.models.v1_delete_group_response import V1DeleteGroupResponse
from seldon_deploy_sdk.models.v1_delete_policy_response import V1DeletePolicyResponse
from seldon_deploy_sdk.models.v1_delete_secret_response import V1DeleteSecretResponse
Expand Down Expand Up @@ -336,7 +336,9 @@
from seldon_deploy_sdk.models.v1_policy import V1Policy
from seldon_deploy_sdk.models.v1_prediction_schema import V1PredictionSchema
from seldon_deploy_sdk.models.v1_rclone_config import V1RcloneConfig
from seldon_deploy_sdk.models.v1_reset_user_password_response import V1ResetUserPasswordResponse
from seldon_deploy_sdk.models.v1_resource_action_pair import V1ResourceActionPair
from seldon_deploy_sdk.models.v1_runtime_defaults import V1RuntimeDefaults
from seldon_deploy_sdk.models.v1_runtime_metadata import V1RuntimeMetadata
from seldon_deploy_sdk.models.v1_runtime_metadata_list_response import V1RuntimeMetadataListResponse
from seldon_deploy_sdk.models.v1_s3_credentials import V1S3Credentials
Expand Down
Loading

0 comments on commit aad8dd4

Please sign in to comment.