示例#1
0
def _delete_model_version():
    request_message = _get_request_message(DeleteModelVersion())
    _get_model_registry_store().delete_model_version(
        name=request_message.name, version=request_message.version)
    return _wrap_response(DeleteModelVersion.Response())
示例#2
0
def _delete_model_version():
    request_message = _get_request_message(DeleteModelVersion())
    _get_model_registry_store().delete_model_version(
        ModelVersion.from_proto(request_message.model_version))
    return _wrap_response(DeleteModelVersion.Response())