Skip to content

Commit 33978d7

Browse files
feat(api): Updated python-sdk to adopt Code Engine API specification changes
1 parent df6bf84 commit 33978d7

File tree

7 files changed

+2112
-159
lines changed

7 files changed

+2112
-159
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
44
-->
5-
# Python SDK for IBM Cloud Code Engine 4.14.1
5+
# Python SDK for IBM Cloud Code Engine 4.19.0
66

77
Python client library to interact with the [IBM Cloud Code Engine API](https://cloud.ibm.com/apidocs/codeengine).
88

@@ -39,8 +39,8 @@ IBM Cloud services:
3939

4040
Service Name | Imported Class Name
4141
--- | ---
42-
[IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.14.1) | CodeEngineV2
43-
[IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.14.1) | IbmCloudCodeEngineV1
42+
[IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.19.0) | CodeEngineV2
43+
[IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.19.0) | IbmCloudCodeEngineV1
4444

4545
## Prerequisites
4646

@@ -55,13 +55,13 @@ Service Name | Imported Class Name
5555
To install, use `pip` or `easy_install`:
5656

5757
```bash
58-
pip install --upgrade "ibm_code_engine_sdk>=4.14.1"
58+
pip install --upgrade "ibm_code_engine_sdk>=4.19.0"
5959
```
6060

6161
or
6262

6363
```bash
64-
easy_install --upgrade "ibm_code_engine_sdk>=4.14.1"
64+
easy_install --upgrade "ibm_code_engine_sdk>=4.19.0"
6565
```
6666

6767
## Using the SDK

examples/test_code_engine_v2_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import pytest
2323
from ibm_code_engine_sdk.code_engine_v2 import *
2424

25-
version = '2025-02-20'
25+
version = '2025-03-29'
2626

2727
#
2828
# This file provides an example of how to use the Code Engine service.
@@ -712,7 +712,7 @@ def test_create_function_example(self):
712712
project_id='15314cc3-85b4-4338-903f-c28cdee6d005',
713713
code_reference='data:text/plain;base64,<base64encoded-source-code>',
714714
name='my-function',
715-
runtime='nodejs-18',
715+
runtime='nodejs-20',
716716
)
717717
function = response.get_result()
718718

0 commit comments

Comments
 (0)