Skip to content

Commit df6bf84

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

File tree

10 files changed

+691
-103
lines changed

10 files changed

+691
-103
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ matrix:
1919
- python: '3.10'
2020
- python: '3.11'
2121
- python: '3.12'
22+
- python: '3.13'
2223

2324
install:
2425
- sudo apt-get update

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.9.0
5+
# Python SDK for IBM Cloud Code Engine 4.14.1
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.9.0) | CodeEngineV2
43-
[IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.9.0) | IbmCloudCodeEngineV1
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
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.9.0"
58+
pip install --upgrade "ibm_code_engine_sdk>=4.14.1"
5959
```
6060

6161
or
6262

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

6767
## Using the SDK

examples/test_code_engine_v2_examples.py

Lines changed: 2 additions & 1 deletion
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-01-10'
25+
version = '2025-02-20'
2626

2727
#
2828
# This file provides an example of how to use the Code Engine service.
@@ -1247,6 +1247,7 @@ def test_list_secrets_example(self):
12471247
pager = SecretsPager(
12481248
client=code_engine_service,
12491249
project_id='15314cc3-85b4-4338-903f-c28cdee6d005',
1250+
format='ssh_auth',
12501251
limit=100,
12511252
)
12521253
while pager.has_next():

0 commit comments

Comments
 (0)