ibm-code-engine-sdk 4.1.1__tar.gz → 4.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {ibm_code_engine_sdk-4.1.1/ibm_code_engine_sdk.egg-info → ibm_code_engine_sdk-4.4.1}/PKG-INFO +6 -6
  2. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/README.md +5 -5
  3. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk/code_engine_v2.py +862 -6
  4. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk/version.py +1 -1
  5. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1/ibm_code_engine_sdk.egg-info}/PKG-INFO +6 -6
  6. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/setup.py +1 -1
  7. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/LICENSE +0 -0
  8. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/MANIFEST.in +0 -0
  9. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk/__init__.py +0 -0
  10. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk/common.py +0 -0
  11. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk/ibm_cloud_code_engine_v1.py +0 -0
  12. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk.egg-info/SOURCES.txt +0 -0
  13. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk.egg-info/dependency_links.txt +0 -0
  14. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk.egg-info/requires.txt +0 -0
  15. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk.egg-info/top_level.txt +0 -0
  16. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/ibm_code_engine_sdk.egg-info/zip-safe +0 -0
  17. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/pyproject.toml +0 -0
  18. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/requirements-dev.txt +0 -0
  19. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/requirements.txt +0 -0
  20. {ibm_code_engine_sdk-4.1.1 → ibm_code_engine_sdk-4.4.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ibm-code-engine-sdk
3
- Version: 4.1.1
3
+ Version: 4.4.1
4
4
  Summary: Python SDK for IBM Cloud Code Engine
5
5
  Home-page: https://github.com/IBM/code-engine-python-sdk
6
6
  Author: IBM
@@ -30,7 +30,7 @@ Requires-Dist: ibm_cloud_sdk_core<4.0.0,>=3.16.0
30
30
  <!--
31
31
  [![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)
32
32
  -->
33
- # Python SDK for IBM Cloud Code Engine 4.1.1
33
+ # Python SDK for IBM Cloud Code Engine 4.4.1
34
34
 
35
35
  Python client library to interact with the [IBM Cloud Code Engine API](https://cloud.ibm.com/apidocs/codeengine).
36
36
 
@@ -67,8 +67,8 @@ IBM Cloud services:
67
67
 
68
68
  Service Name | Imported Class Name
69
69
  --- | ---
70
- [IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.1.1) | CodeEngineV2
71
- [IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.1.1) | IbmCloudCodeEngineV1
70
+ [IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.4.1) | CodeEngineV2
71
+ [IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.4.1) | IbmCloudCodeEngineV1
72
72
 
73
73
  ## Prerequisites
74
74
 
@@ -83,13 +83,13 @@ Service Name | Imported Class Name
83
83
  To install, use `pip` or `easy_install`:
84
84
 
85
85
  ```bash
86
- pip install --upgrade "ibm_code_engine_sdk>=4.1.1"
86
+ pip install --upgrade "ibm_code_engine_sdk>=4.4.1"
87
87
  ```
88
88
 
89
89
  or
90
90
 
91
91
  ```bash
92
- easy_install --upgrade "ibm_code_engine_sdk>=4.1.1"
92
+ easy_install --upgrade "ibm_code_engine_sdk>=4.4.1"
93
93
  ```
94
94
 
95
95
  ## Using the SDK
@@ -2,7 +2,7 @@
2
2
  <!--
3
3
  [![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)
4
4
  -->
5
- # Python SDK for IBM Cloud Code Engine 4.1.1
5
+ # Python SDK for IBM Cloud Code Engine 4.4.1
6
6
 
7
7
  Python client library to interact with the [IBM Cloud Code Engine API](https://cloud.ibm.com/apidocs/codeengine).
8
8
 
@@ -39,8 +39,8 @@ IBM Cloud services:
39
39
 
40
40
  Service Name | Imported Class Name
41
41
  --- | ---
42
- [IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.1.1) | CodeEngineV2
43
- [IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.1.1) | IbmCloudCodeEngineV1
42
+ [IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.4.1) | CodeEngineV2
43
+ [IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.4.1) | IbmCloudCodeEngineV1
44
44
 
45
45
  ## Prerequisites
46
46
 
@@ -55,13 +55,13 @@ Service Name | Imported Class Name
55
55
  To install, use `pip` or `easy_install`:
56
56
 
57
57
  ```bash
58
- pip install --upgrade "ibm_code_engine_sdk>=4.1.1"
58
+ pip install --upgrade "ibm_code_engine_sdk>=4.4.1"
59
59
  ```
60
60
 
61
61
  or
62
62
 
63
63
  ```bash
64
- easy_install --upgrade "ibm_code_engine_sdk>=4.1.1"
64
+ easy_install --upgrade "ibm_code_engine_sdk>=4.4.1"
65
65
  ```
66
66
 
67
67
  ## Using the SDK
@@ -56,7 +56,7 @@ class CodeEngineV2(BaseService):
56
56
 
57
57
  :param str version: (optional) The API version, in format `YYYY-MM-DD`. For
58
58
  the API behavior documented here, specify any date between `2021-03-31` and
59
- `2024-09-27`.
59
+ `2024-11-18`.
60
60
  """
61
61
  authenticator = get_authenticator_from_environment(service_name)
62
62
  service = cls(
@@ -80,7 +80,7 @@ class CodeEngineV2(BaseService):
80
80
 
81
81
  :param str version: (optional) The API version, in format `YYYY-MM-DD`. For
82
82
  the API behavior documented here, specify any date between `2021-03-31` and
83
- `2024-09-27`.
83
+ `2024-11-18`.
84
84
  """
85
85
  BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
86
86
  self.version = version
@@ -291,6 +291,304 @@ class CodeEngineV2(BaseService):
291
291
  response = self.send(request, **kwargs)
292
292
  return response
293
293
 
294
+ def list_allowed_outbound_destination(
295
+ self,
296
+ project_id: str,
297
+ *,
298
+ limit: Optional[int] = None,
299
+ start: Optional[str] = None,
300
+ **kwargs,
301
+ ) -> DetailedResponse:
302
+ """
303
+ List allowed outbound destinations.
304
+
305
+ List all allowed outbound destinations in a project.
306
+
307
+ :param str project_id: The ID of the project.
308
+ :param int limit: (optional) Optional maximum number of allowed outbound
309
+ destinations per page.
310
+ :param str start: (optional) An optional token that indicates the beginning
311
+ of the page of results to be returned. If omitted, the first page of
312
+ results is returned. This value is obtained from the 'start' query
313
+ parameter in the `next` object of the operation response.
314
+ :param dict headers: A `dict` containing the request headers
315
+ :return: A `DetailedResponse` containing the result, headers and HTTP status code.
316
+ :rtype: DetailedResponse with `dict` result representing a `AllowedOutboundDestinationList` object
317
+ """
318
+
319
+ if not project_id:
320
+ raise ValueError('project_id must be provided')
321
+ headers = {}
322
+ sdk_headers = get_sdk_headers(
323
+ service_name=self.DEFAULT_SERVICE_NAME,
324
+ service_version='V2',
325
+ operation_id='list_allowed_outbound_destination',
326
+ )
327
+ headers.update(sdk_headers)
328
+
329
+ params = {
330
+ 'limit': limit,
331
+ 'start': start,
332
+ }
333
+
334
+ if 'headers' in kwargs:
335
+ headers.update(kwargs.get('headers'))
336
+ del kwargs['headers']
337
+ headers['Accept'] = 'application/json'
338
+
339
+ path_param_keys = ['project_id']
340
+ path_param_values = self.encode_path_vars(project_id)
341
+ path_param_dict = dict(zip(path_param_keys, path_param_values))
342
+ url = '/projects/{project_id}/allowed_outbound_destinations'.format(**path_param_dict)
343
+ request = self.prepare_request(
344
+ method='GET',
345
+ url=url,
346
+ headers=headers,
347
+ params=params,
348
+ )
349
+
350
+ response = self.send(request, **kwargs)
351
+ return response
352
+
353
+ def create_allowed_outbound_destination(
354
+ self,
355
+ project_id: str,
356
+ allowed_outbound_destination: 'AllowedOutboundDestinationPrototype',
357
+ **kwargs,
358
+ ) -> DetailedResponse:
359
+ """
360
+ Create an allowed outbound destination.
361
+
362
+ Create an allowed outbound destination.
363
+
364
+ :param str project_id: The ID of the project.
365
+ :param AllowedOutboundDestinationPrototype allowed_outbound_destination:
366
+ AllowedOutboundDestination prototype.
367
+ :param dict headers: A `dict` containing the request headers
368
+ :return: A `DetailedResponse` containing the result, headers and HTTP status code.
369
+ :rtype: DetailedResponse with `dict` result representing a `AllowedOutboundDestination` object
370
+ """
371
+
372
+ if not project_id:
373
+ raise ValueError('project_id must be provided')
374
+ if allowed_outbound_destination is None:
375
+ raise ValueError('allowed_outbound_destination must be provided')
376
+ if isinstance(allowed_outbound_destination, AllowedOutboundDestinationPrototype):
377
+ allowed_outbound_destination = convert_model(allowed_outbound_destination)
378
+ headers = {}
379
+ sdk_headers = get_sdk_headers(
380
+ service_name=self.DEFAULT_SERVICE_NAME,
381
+ service_version='V2',
382
+ operation_id='create_allowed_outbound_destination',
383
+ )
384
+ headers.update(sdk_headers)
385
+
386
+ params = {
387
+ 'version': self.version,
388
+ }
389
+
390
+ data = json.dumps(allowed_outbound_destination)
391
+ headers['content-type'] = 'application/json'
392
+
393
+ if 'headers' in kwargs:
394
+ headers.update(kwargs.get('headers'))
395
+ del kwargs['headers']
396
+ headers['Accept'] = 'application/json'
397
+
398
+ path_param_keys = ['project_id']
399
+ path_param_values = self.encode_path_vars(project_id)
400
+ path_param_dict = dict(zip(path_param_keys, path_param_values))
401
+ url = '/projects/{project_id}/allowed_outbound_destinations'.format(**path_param_dict)
402
+ request = self.prepare_request(
403
+ method='POST',
404
+ url=url,
405
+ headers=headers,
406
+ params=params,
407
+ data=data,
408
+ )
409
+
410
+ response = self.send(request, **kwargs)
411
+ return response
412
+
413
+ def get_allowed_outbound_destination(
414
+ self,
415
+ project_id: str,
416
+ name: str,
417
+ **kwargs,
418
+ ) -> DetailedResponse:
419
+ """
420
+ Get an allowed outbound destination.
421
+
422
+ Display the details of an allowed outbound destination.
423
+
424
+ :param str project_id: The ID of the project.
425
+ :param str name: The name of your allowed outbound destination.
426
+ :param dict headers: A `dict` containing the request headers
427
+ :return: A `DetailedResponse` containing the result, headers and HTTP status code.
428
+ :rtype: DetailedResponse with `dict` result representing a `AllowedOutboundDestination` object
429
+ """
430
+
431
+ if not project_id:
432
+ raise ValueError('project_id must be provided')
433
+ if not name:
434
+ raise ValueError('name must be provided')
435
+ headers = {}
436
+ sdk_headers = get_sdk_headers(
437
+ service_name=self.DEFAULT_SERVICE_NAME,
438
+ service_version='V2',
439
+ operation_id='get_allowed_outbound_destination',
440
+ )
441
+ headers.update(sdk_headers)
442
+
443
+ params = {
444
+ 'version': self.version,
445
+ }
446
+
447
+ if 'headers' in kwargs:
448
+ headers.update(kwargs.get('headers'))
449
+ del kwargs['headers']
450
+ headers['Accept'] = 'application/json'
451
+
452
+ path_param_keys = ['project_id', 'name']
453
+ path_param_values = self.encode_path_vars(project_id, name)
454
+ path_param_dict = dict(zip(path_param_keys, path_param_values))
455
+ url = '/projects/{project_id}/allowed_outbound_destinations/{name}'.format(**path_param_dict)
456
+ request = self.prepare_request(
457
+ method='GET',
458
+ url=url,
459
+ headers=headers,
460
+ params=params,
461
+ )
462
+
463
+ response = self.send(request, **kwargs)
464
+ return response
465
+
466
+ def delete_allowed_outbound_destination(
467
+ self,
468
+ project_id: str,
469
+ name: str,
470
+ **kwargs,
471
+ ) -> DetailedResponse:
472
+ """
473
+ Delete an allowed outbound destination.
474
+
475
+ Delete an allowed outbound destination.
476
+
477
+ :param str project_id: The ID of the project.
478
+ :param str name: The name of your allowed outbound destination.
479
+ :param dict headers: A `dict` containing the request headers
480
+ :return: A `DetailedResponse` containing the result, headers and HTTP status code.
481
+ :rtype: DetailedResponse
482
+ """
483
+
484
+ if not project_id:
485
+ raise ValueError('project_id must be provided')
486
+ if not name:
487
+ raise ValueError('name must be provided')
488
+ headers = {}
489
+ sdk_headers = get_sdk_headers(
490
+ service_name=self.DEFAULT_SERVICE_NAME,
491
+ service_version='V2',
492
+ operation_id='delete_allowed_outbound_destination',
493
+ )
494
+ headers.update(sdk_headers)
495
+
496
+ params = {
497
+ 'version': self.version,
498
+ }
499
+
500
+ if 'headers' in kwargs:
501
+ headers.update(kwargs.get('headers'))
502
+ del kwargs['headers']
503
+
504
+ path_param_keys = ['project_id', 'name']
505
+ path_param_values = self.encode_path_vars(project_id, name)
506
+ path_param_dict = dict(zip(path_param_keys, path_param_values))
507
+ url = '/projects/{project_id}/allowed_outbound_destinations/{name}'.format(**path_param_dict)
508
+ request = self.prepare_request(
509
+ method='DELETE',
510
+ url=url,
511
+ headers=headers,
512
+ params=params,
513
+ )
514
+
515
+ response = self.send(request, **kwargs)
516
+ return response
517
+
518
+ def update_allowed_outbound_destination(
519
+ self,
520
+ project_id: str,
521
+ name: str,
522
+ if_match: str,
523
+ allowed_outbound_destination: 'AllowedOutboundDestinationPatch',
524
+ **kwargs,
525
+ ) -> DetailedResponse:
526
+ """
527
+ Update an allowed outbound destination.
528
+
529
+ Update an allowed outbound destination.
530
+
531
+ :param str project_id: The ID of the project.
532
+ :param str name: The name of your allowed outbound destination.
533
+ :param str if_match: Version of the allowed outbound destination to be
534
+ updated. Specify the version that you retrieved as entity_tag (ETag header)
535
+ when reading the allowed outbound destination. This value helps identifying
536
+ parallel usage of this API. Pass * to indicate to update any version
537
+ available. This might result in stale updates.
538
+ :param AllowedOutboundDestinationPatch allowed_outbound_destination:
539
+ AllowedOutboundDestination patch.
540
+ :param dict headers: A `dict` containing the request headers
541
+ :return: A `DetailedResponse` containing the result, headers and HTTP status code.
542
+ :rtype: DetailedResponse with `dict` result representing a `AllowedOutboundDestination` object
543
+ """
544
+
545
+ if not project_id:
546
+ raise ValueError('project_id must be provided')
547
+ if not name:
548
+ raise ValueError('name must be provided')
549
+ if not if_match:
550
+ raise ValueError('if_match must be provided')
551
+ if allowed_outbound_destination is None:
552
+ raise ValueError('allowed_outbound_destination must be provided')
553
+ if isinstance(allowed_outbound_destination, AllowedOutboundDestinationPatch):
554
+ allowed_outbound_destination = convert_model(allowed_outbound_destination)
555
+ headers = {
556
+ 'If-Match': if_match,
557
+ }
558
+ sdk_headers = get_sdk_headers(
559
+ service_name=self.DEFAULT_SERVICE_NAME,
560
+ service_version='V2',
561
+ operation_id='update_allowed_outbound_destination',
562
+ )
563
+ headers.update(sdk_headers)
564
+
565
+ params = {
566
+ 'version': self.version,
567
+ }
568
+
569
+ data = json.dumps(allowed_outbound_destination)
570
+ headers['content-type'] = 'application/merge-patch+json'
571
+
572
+ if 'headers' in kwargs:
573
+ headers.update(kwargs.get('headers'))
574
+ del kwargs['headers']
575
+ headers['Accept'] = 'application/json'
576
+
577
+ path_param_keys = ['project_id', 'name']
578
+ path_param_values = self.encode_path_vars(project_id, name)
579
+ path_param_dict = dict(zip(path_param_keys, path_param_values))
580
+ url = '/projects/{project_id}/allowed_outbound_destinations/{name}'.format(**path_param_dict)
581
+ request = self.prepare_request(
582
+ method='PATCH',
583
+ url=url,
584
+ headers=headers,
585
+ params=params,
586
+ data=data,
587
+ )
588
+
589
+ response = self.send(request, **kwargs)
590
+ return response
591
+
294
592
  def get_project_egress_ips(
295
593
  self,
296
594
  project_id: str,
@@ -3973,6 +4271,216 @@ class CodeEngineV2(BaseService):
3973
4271
  ##############################################################################
3974
4272
 
3975
4273
 
4274
+ class AllowedOutboundDestination:
4275
+ """
4276
+ AllowedOutboundDestination Describes the model of an allowed outbound destination.
4277
+
4278
+ :param str entity_tag: The version of the allowed outbound destination, which is
4279
+ used to achieve optimistic locking.
4280
+ :param str type: Specify the type of the allowed outbound destination. Allowed
4281
+ types are: 'cidr_block'.
4282
+ """
4283
+
4284
+ def __init__(
4285
+ self,
4286
+ entity_tag: str,
4287
+ type: str,
4288
+ ) -> None:
4289
+ """
4290
+ Initialize a AllowedOutboundDestination object.
4291
+
4292
+ :param str entity_tag: The version of the allowed outbound destination,
4293
+ which is used to achieve optimistic locking.
4294
+ :param str type: Specify the type of the allowed outbound destination.
4295
+ Allowed types are: 'cidr_block'.
4296
+ """
4297
+ msg = "Cannot instantiate base class. Instead, instantiate one of the defined subclasses: {0}".format(
4298
+ ", ".join(['AllowedOutboundDestinationCidrBlockData'])
4299
+ )
4300
+ raise Exception(msg)
4301
+
4302
+ class TypeEnum(str, Enum):
4303
+ """
4304
+ Specify the type of the allowed outbound destination. Allowed types are:
4305
+ 'cidr_block'.
4306
+ """
4307
+
4308
+ CIDR_BLOCK = 'cidr_block'
4309
+
4310
+
4311
+ class AllowedOutboundDestinationList:
4312
+ """
4313
+ Contains a list of allowed outbound destinations and pagination information.
4314
+
4315
+ :param List[AllowedOutboundDestination] allowed_outbound_destinations: List of
4316
+ all allowed outbound destinations.
4317
+ :param ListFirstMetadata first: (optional) Describes properties needed to
4318
+ retrieve the first page of a result list.
4319
+ :param int limit: Maximum number of resources per page.
4320
+ :param ListNextMetadata next: (optional) Describes properties needed to retrieve
4321
+ the next page of a result list.
4322
+ """
4323
+
4324
+ def __init__(
4325
+ self,
4326
+ allowed_outbound_destinations: List['AllowedOutboundDestination'],
4327
+ limit: int,
4328
+ *,
4329
+ first: Optional['ListFirstMetadata'] = None,
4330
+ next: Optional['ListNextMetadata'] = None,
4331
+ ) -> None:
4332
+ """
4333
+ Initialize a AllowedOutboundDestinationList object.
4334
+
4335
+ :param List[AllowedOutboundDestination] allowed_outbound_destinations: List
4336
+ of all allowed outbound destinations.
4337
+ :param int limit: Maximum number of resources per page.
4338
+ :param ListFirstMetadata first: (optional) Describes properties needed to
4339
+ retrieve the first page of a result list.
4340
+ :param ListNextMetadata next: (optional) Describes properties needed to
4341
+ retrieve the next page of a result list.
4342
+ """
4343
+ self.allowed_outbound_destinations = allowed_outbound_destinations
4344
+ self.first = first
4345
+ self.limit = limit
4346
+ self.next = next
4347
+
4348
+ @classmethod
4349
+ def from_dict(cls, _dict: Dict) -> 'AllowedOutboundDestinationList':
4350
+ """Initialize a AllowedOutboundDestinationList object from a json dictionary."""
4351
+ args = {}
4352
+ if (allowed_outbound_destinations := _dict.get('allowed_outbound_destinations')) is not None:
4353
+ args['allowed_outbound_destinations'] = allowed_outbound_destinations
4354
+ else:
4355
+ raise ValueError(
4356
+ 'Required property \'allowed_outbound_destinations\' not present in AllowedOutboundDestinationList JSON'
4357
+ )
4358
+ if (first := _dict.get('first')) is not None:
4359
+ args['first'] = ListFirstMetadata.from_dict(first)
4360
+ if (limit := _dict.get('limit')) is not None:
4361
+ args['limit'] = limit
4362
+ else:
4363
+ raise ValueError('Required property \'limit\' not present in AllowedOutboundDestinationList JSON')
4364
+ if (next := _dict.get('next')) is not None:
4365
+ args['next'] = ListNextMetadata.from_dict(next)
4366
+ return cls(**args)
4367
+
4368
+ @classmethod
4369
+ def _from_dict(cls, _dict):
4370
+ """Initialize a AllowedOutboundDestinationList object from a json dictionary."""
4371
+ return cls.from_dict(_dict)
4372
+
4373
+ def to_dict(self) -> Dict:
4374
+ """Return a json dictionary representing this model."""
4375
+ _dict = {}
4376
+ if hasattr(self, 'allowed_outbound_destinations') and self.allowed_outbound_destinations is not None:
4377
+ allowed_outbound_destinations_list = []
4378
+ for v in self.allowed_outbound_destinations:
4379
+ if isinstance(v, dict):
4380
+ allowed_outbound_destinations_list.append(v)
4381
+ else:
4382
+ allowed_outbound_destinations_list.append(v.to_dict())
4383
+ _dict['allowed_outbound_destinations'] = allowed_outbound_destinations_list
4384
+ if hasattr(self, 'first') and self.first is not None:
4385
+ if isinstance(self.first, dict):
4386
+ _dict['first'] = self.first
4387
+ else:
4388
+ _dict['first'] = self.first.to_dict()
4389
+ if hasattr(self, 'limit') and self.limit is not None:
4390
+ _dict['limit'] = self.limit
4391
+ if hasattr(self, 'next') and self.next is not None:
4392
+ if isinstance(self.next, dict):
4393
+ _dict['next'] = self.next
4394
+ else:
4395
+ _dict['next'] = self.next.to_dict()
4396
+ return _dict
4397
+
4398
+ def _to_dict(self):
4399
+ """Return a json dictionary representing this model."""
4400
+ return self.to_dict()
4401
+
4402
+ def __str__(self) -> str:
4403
+ """Return a `str` version of this AllowedOutboundDestinationList object."""
4404
+ return json.dumps(self.to_dict(), indent=2)
4405
+
4406
+ def __eq__(self, other: 'AllowedOutboundDestinationList') -> bool:
4407
+ """Return `true` when self and other are equal, false otherwise."""
4408
+ if not isinstance(other, self.__class__):
4409
+ return False
4410
+ return self.__dict__ == other.__dict__
4411
+
4412
+ def __ne__(self, other: 'AllowedOutboundDestinationList') -> bool:
4413
+ """Return `true` when self and other are not equal, false otherwise."""
4414
+ return not self == other
4415
+
4416
+
4417
+ class AllowedOutboundDestinationPatch:
4418
+ """
4419
+ AllowedOutboundDestinationPatch is the request model for allowed outbound destination
4420
+ update operations.
4421
+
4422
+ :param str type: (optional) Specify the type of the allowed outbound
4423
+ destination. Allowed types are: 'cidr_block'.
4424
+ """
4425
+
4426
+ def __init__(
4427
+ self,
4428
+ *,
4429
+ type: Optional[str] = None,
4430
+ ) -> None:
4431
+ """
4432
+ Initialize a AllowedOutboundDestinationPatch object.
4433
+
4434
+ :param str type: (optional) Specify the type of the allowed outbound
4435
+ destination. Allowed types are: 'cidr_block'.
4436
+ """
4437
+ msg = "Cannot instantiate base class. Instead, instantiate one of the defined subclasses: {0}".format(
4438
+ ", ".join(['AllowedOutboundDestinationPatchCidrBlockDataPatch'])
4439
+ )
4440
+ raise Exception(msg)
4441
+
4442
+ class TypeEnum(str, Enum):
4443
+ """
4444
+ Specify the type of the allowed outbound destination. Allowed types are:
4445
+ 'cidr_block'.
4446
+ """
4447
+
4448
+ CIDR_BLOCK = 'cidr_block'
4449
+
4450
+
4451
+ class AllowedOutboundDestinationPrototype:
4452
+ """
4453
+ AllowedOutboundDestinationPrototype is the request model for allowed outbound
4454
+ destination create operations.
4455
+
4456
+ :param str type: Specify the type of the allowed outbound destination. Allowed
4457
+ types are: 'cidr_block'.
4458
+ """
4459
+
4460
+ def __init__(
4461
+ self,
4462
+ type: str,
4463
+ ) -> None:
4464
+ """
4465
+ Initialize a AllowedOutboundDestinationPrototype object.
4466
+
4467
+ :param str type: Specify the type of the allowed outbound destination.
4468
+ Allowed types are: 'cidr_block'.
4469
+ """
4470
+ msg = "Cannot instantiate base class. Instead, instantiate one of the defined subclasses: {0}".format(
4471
+ ", ".join(['AllowedOutboundDestinationPrototypeCidrBlockDataPrototype'])
4472
+ )
4473
+ raise Exception(msg)
4474
+
4475
+ class TypeEnum(str, Enum):
4476
+ """
4477
+ Specify the type of the allowed outbound destination. Allowed types are:
4478
+ 'cidr_block'.
4479
+ """
4480
+
4481
+ CIDR_BLOCK = 'cidr_block'
4482
+
4483
+
3976
4484
  class App:
3977
4485
  """
3978
4486
  App is the response model for app resources.
@@ -13415,6 +13923,285 @@ class VolumeMountPrototype:
13415
13923
  SECRET = 'secret'
13416
13924
 
13417
13925
 
13926
+ class AllowedOutboundDestinationPatchCidrBlockDataPatch(AllowedOutboundDestinationPatch):
13927
+ """
13928
+ Update an allowed outbound destination by using a CIDR block.
13929
+
13930
+ :param str type: (optional) Specify the type of the allowed outbound
13931
+ destination. Allowed types are: 'cidr_block'.
13932
+ :param str cidr_block: (optional) The IP address range.
13933
+ """
13934
+
13935
+ def __init__(
13936
+ self,
13937
+ *,
13938
+ type: Optional[str] = None,
13939
+ cidr_block: Optional[str] = None,
13940
+ ) -> None:
13941
+ """
13942
+ Initialize a AllowedOutboundDestinationPatchCidrBlockDataPatch object.
13943
+
13944
+ :param str type: (optional) Specify the type of the allowed outbound
13945
+ destination. Allowed types are: 'cidr_block'.
13946
+ :param str cidr_block: (optional) The IP address range.
13947
+ """
13948
+ # pylint: disable=super-init-not-called
13949
+ self.type = type
13950
+ self.cidr_block = cidr_block
13951
+
13952
+ @classmethod
13953
+ def from_dict(cls, _dict: Dict) -> 'AllowedOutboundDestinationPatchCidrBlockDataPatch':
13954
+ """Initialize a AllowedOutboundDestinationPatchCidrBlockDataPatch object from a json dictionary."""
13955
+ args = {}
13956
+ if (type := _dict.get('type')) is not None:
13957
+ args['type'] = type
13958
+ if (cidr_block := _dict.get('cidr_block')) is not None:
13959
+ args['cidr_block'] = cidr_block
13960
+ return cls(**args)
13961
+
13962
+ @classmethod
13963
+ def _from_dict(cls, _dict):
13964
+ """Initialize a AllowedOutboundDestinationPatchCidrBlockDataPatch object from a json dictionary."""
13965
+ return cls.from_dict(_dict)
13966
+
13967
+ def to_dict(self) -> Dict:
13968
+ """Return a json dictionary representing this model."""
13969
+ _dict = {}
13970
+ if hasattr(self, 'type') and self.type is not None:
13971
+ _dict['type'] = self.type
13972
+ if hasattr(self, 'cidr_block') and self.cidr_block is not None:
13973
+ _dict['cidr_block'] = self.cidr_block
13974
+ return _dict
13975
+
13976
+ def _to_dict(self):
13977
+ """Return a json dictionary representing this model."""
13978
+ return self.to_dict()
13979
+
13980
+ def __str__(self) -> str:
13981
+ """Return a `str` version of this AllowedOutboundDestinationPatchCidrBlockDataPatch object."""
13982
+ return json.dumps(self.to_dict(), indent=2)
13983
+
13984
+ def __eq__(self, other: 'AllowedOutboundDestinationPatchCidrBlockDataPatch') -> bool:
13985
+ """Return `true` when self and other are equal, false otherwise."""
13986
+ if not isinstance(other, self.__class__):
13987
+ return False
13988
+ return self.__dict__ == other.__dict__
13989
+
13990
+ def __ne__(self, other: 'AllowedOutboundDestinationPatchCidrBlockDataPatch') -> bool:
13991
+ """Return `true` when self and other are not equal, false otherwise."""
13992
+ return not self == other
13993
+
13994
+ class TypeEnum(str, Enum):
13995
+ """
13996
+ Specify the type of the allowed outbound destination. Allowed types are:
13997
+ 'cidr_block'.
13998
+ """
13999
+
14000
+ CIDR_BLOCK = 'cidr_block'
14001
+
14002
+
14003
+ class AllowedOutboundDestinationPrototypeCidrBlockDataPrototype(AllowedOutboundDestinationPrototype):
14004
+ """
14005
+ Create an allowed outbound destination by using a CIDR block.
14006
+
14007
+ :param str type: Specify the type of the allowed outbound destination. Allowed
14008
+ types are: 'cidr_block'.
14009
+ :param str cidr_block: The IP address range.
14010
+ :param str name: The name of the CIDR block.
14011
+ """
14012
+
14013
+ def __init__(
14014
+ self,
14015
+ type: str,
14016
+ cidr_block: str,
14017
+ name: str,
14018
+ ) -> None:
14019
+ """
14020
+ Initialize a AllowedOutboundDestinationPrototypeCidrBlockDataPrototype object.
14021
+
14022
+ :param str type: Specify the type of the allowed outbound destination.
14023
+ Allowed types are: 'cidr_block'.
14024
+ :param str cidr_block: The IP address range.
14025
+ :param str name: The name of the CIDR block.
14026
+ """
14027
+ # pylint: disable=super-init-not-called
14028
+ self.type = type
14029
+ self.cidr_block = cidr_block
14030
+ self.name = name
14031
+
14032
+ @classmethod
14033
+ def from_dict(cls, _dict: Dict) -> 'AllowedOutboundDestinationPrototypeCidrBlockDataPrototype':
14034
+ """Initialize a AllowedOutboundDestinationPrototypeCidrBlockDataPrototype object from a json dictionary."""
14035
+ args = {}
14036
+ if (type := _dict.get('type')) is not None:
14037
+ args['type'] = type
14038
+ else:
14039
+ raise ValueError(
14040
+ 'Required property \'type\' not present in AllowedOutboundDestinationPrototypeCidrBlockDataPrototype JSON'
14041
+ )
14042
+ if (cidr_block := _dict.get('cidr_block')) is not None:
14043
+ args['cidr_block'] = cidr_block
14044
+ else:
14045
+ raise ValueError(
14046
+ 'Required property \'cidr_block\' not present in AllowedOutboundDestinationPrototypeCidrBlockDataPrototype JSON'
14047
+ )
14048
+ if (name := _dict.get('name')) is not None:
14049
+ args['name'] = name
14050
+ else:
14051
+ raise ValueError(
14052
+ 'Required property \'name\' not present in AllowedOutboundDestinationPrototypeCidrBlockDataPrototype JSON'
14053
+ )
14054
+ return cls(**args)
14055
+
14056
+ @classmethod
14057
+ def _from_dict(cls, _dict):
14058
+ """Initialize a AllowedOutboundDestinationPrototypeCidrBlockDataPrototype object from a json dictionary."""
14059
+ return cls.from_dict(_dict)
14060
+
14061
+ def to_dict(self) -> Dict:
14062
+ """Return a json dictionary representing this model."""
14063
+ _dict = {}
14064
+ if hasattr(self, 'type') and self.type is not None:
14065
+ _dict['type'] = self.type
14066
+ if hasattr(self, 'cidr_block') and self.cidr_block is not None:
14067
+ _dict['cidr_block'] = self.cidr_block
14068
+ if hasattr(self, 'name') and self.name is not None:
14069
+ _dict['name'] = self.name
14070
+ return _dict
14071
+
14072
+ def _to_dict(self):
14073
+ """Return a json dictionary representing this model."""
14074
+ return self.to_dict()
14075
+
14076
+ def __str__(self) -> str:
14077
+ """Return a `str` version of this AllowedOutboundDestinationPrototypeCidrBlockDataPrototype object."""
14078
+ return json.dumps(self.to_dict(), indent=2)
14079
+
14080
+ def __eq__(self, other: 'AllowedOutboundDestinationPrototypeCidrBlockDataPrototype') -> bool:
14081
+ """Return `true` when self and other are equal, false otherwise."""
14082
+ if not isinstance(other, self.__class__):
14083
+ return False
14084
+ return self.__dict__ == other.__dict__
14085
+
14086
+ def __ne__(self, other: 'AllowedOutboundDestinationPrototypeCidrBlockDataPrototype') -> bool:
14087
+ """Return `true` when self and other are not equal, false otherwise."""
14088
+ return not self == other
14089
+
14090
+ class TypeEnum(str, Enum):
14091
+ """
14092
+ Specify the type of the allowed outbound destination. Allowed types are:
14093
+ 'cidr_block'.
14094
+ """
14095
+
14096
+ CIDR_BLOCK = 'cidr_block'
14097
+
14098
+
14099
+ class AllowedOutboundDestinationCidrBlockData(AllowedOutboundDestination):
14100
+ """
14101
+ Allowed outbound destination CIDR block.
14102
+
14103
+ :param str entity_tag: The version of the allowed outbound destination, which is
14104
+ used to achieve optimistic locking.
14105
+ :param str type: Specify the type of the allowed outbound destination. Allowed
14106
+ types are: 'cidr_block'.
14107
+ :param str cidr_block: The IP address range.
14108
+ :param str name: The name of the CIDR block.
14109
+ """
14110
+
14111
+ def __init__(
14112
+ self,
14113
+ entity_tag: str,
14114
+ type: str,
14115
+ cidr_block: str,
14116
+ name: str,
14117
+ ) -> None:
14118
+ """
14119
+ Initialize a AllowedOutboundDestinationCidrBlockData object.
14120
+
14121
+ :param str entity_tag: The version of the allowed outbound destination,
14122
+ which is used to achieve optimistic locking.
14123
+ :param str type: Specify the type of the allowed outbound destination.
14124
+ Allowed types are: 'cidr_block'.
14125
+ :param str cidr_block: The IP address range.
14126
+ :param str name: The name of the CIDR block.
14127
+ """
14128
+ # pylint: disable=super-init-not-called
14129
+ self.entity_tag = entity_tag
14130
+ self.type = type
14131
+ self.cidr_block = cidr_block
14132
+ self.name = name
14133
+
14134
+ @classmethod
14135
+ def from_dict(cls, _dict: Dict) -> 'AllowedOutboundDestinationCidrBlockData':
14136
+ """Initialize a AllowedOutboundDestinationCidrBlockData object from a json dictionary."""
14137
+ args = {}
14138
+ if (entity_tag := _dict.get('entity_tag')) is not None:
14139
+ args['entity_tag'] = entity_tag
14140
+ else:
14141
+ raise ValueError(
14142
+ 'Required property \'entity_tag\' not present in AllowedOutboundDestinationCidrBlockData JSON'
14143
+ )
14144
+ if (type := _dict.get('type')) is not None:
14145
+ args['type'] = type
14146
+ else:
14147
+ raise ValueError('Required property \'type\' not present in AllowedOutboundDestinationCidrBlockData JSON')
14148
+ if (cidr_block := _dict.get('cidr_block')) is not None:
14149
+ args['cidr_block'] = cidr_block
14150
+ else:
14151
+ raise ValueError(
14152
+ 'Required property \'cidr_block\' not present in AllowedOutboundDestinationCidrBlockData JSON'
14153
+ )
14154
+ if (name := _dict.get('name')) is not None:
14155
+ args['name'] = name
14156
+ else:
14157
+ raise ValueError('Required property \'name\' not present in AllowedOutboundDestinationCidrBlockData JSON')
14158
+ return cls(**args)
14159
+
14160
+ @classmethod
14161
+ def _from_dict(cls, _dict):
14162
+ """Initialize a AllowedOutboundDestinationCidrBlockData object from a json dictionary."""
14163
+ return cls.from_dict(_dict)
14164
+
14165
+ def to_dict(self) -> Dict:
14166
+ """Return a json dictionary representing this model."""
14167
+ _dict = {}
14168
+ if hasattr(self, 'entity_tag') and self.entity_tag is not None:
14169
+ _dict['entity_tag'] = self.entity_tag
14170
+ if hasattr(self, 'type') and self.type is not None:
14171
+ _dict['type'] = self.type
14172
+ if hasattr(self, 'cidr_block') and self.cidr_block is not None:
14173
+ _dict['cidr_block'] = self.cidr_block
14174
+ if hasattr(self, 'name') and self.name is not None:
14175
+ _dict['name'] = self.name
14176
+ return _dict
14177
+
14178
+ def _to_dict(self):
14179
+ """Return a json dictionary representing this model."""
14180
+ return self.to_dict()
14181
+
14182
+ def __str__(self) -> str:
14183
+ """Return a `str` version of this AllowedOutboundDestinationCidrBlockData object."""
14184
+ return json.dumps(self.to_dict(), indent=2)
14185
+
14186
+ def __eq__(self, other: 'AllowedOutboundDestinationCidrBlockData') -> bool:
14187
+ """Return `true` when self and other are equal, false otherwise."""
14188
+ if not isinstance(other, self.__class__):
14189
+ return False
14190
+ return self.__dict__ == other.__dict__
14191
+
14192
+ def __ne__(self, other: 'AllowedOutboundDestinationCidrBlockData') -> bool:
14193
+ """Return `true` when self and other are not equal, false otherwise."""
14194
+ return not self == other
14195
+
14196
+ class TypeEnum(str, Enum):
14197
+ """
14198
+ Specify the type of the allowed outbound destination. Allowed types are:
14199
+ 'cidr_block'.
14200
+ """
14201
+
14202
+ CIDR_BLOCK = 'cidr_block'
14203
+
14204
+
13418
14205
  class SecretDataBasicAuthSecretData(SecretData):
13419
14206
  """
13420
14207
  SecretDataBasicAuthSecretData.
@@ -13508,7 +14295,7 @@ class SecretDataBasicAuthSecretData(SecretData):
13508
14295
  raise ValueError('Value for additional property {} must be of type str'.format(k))
13509
14296
  setattr(self, k, v)
13510
14297
  else:
13511
- raise ValueError('Property {} cannot be specified as an additional property'.format(k))
14298
+ raise ValueError('Property {} cannot be specified as an additional property'.format(_key))
13512
14299
 
13513
14300
  def __str__(self) -> str:
13514
14301
  """Return a `str` version of this SecretDataBasicAuthSecretData object."""
@@ -13720,7 +14507,7 @@ class SecretDataRegistrySecretData(SecretData):
13720
14507
  raise ValueError('Value for additional property {} must be of type str'.format(k))
13721
14508
  setattr(self, k, v)
13722
14509
  else:
13723
- raise ValueError('Property {} cannot be specified as an additional property'.format(k))
14510
+ raise ValueError('Property {} cannot be specified as an additional property'.format(_key))
13724
14511
 
13725
14512
  def __str__(self) -> str:
13726
14513
  """Return a `str` version of this SecretDataRegistrySecretData object."""
@@ -13829,7 +14616,7 @@ class SecretDataSSHSecretData(SecretData):
13829
14616
  raise ValueError('Value for additional property {} must be of type str'.format(k))
13830
14617
  setattr(self, k, v)
13831
14618
  else:
13832
- raise ValueError('Property {} cannot be specified as an additional property'.format(k))
14619
+ raise ValueError('Property {} cannot be specified as an additional property'.format(_key))
13833
14620
 
13834
14621
  def __str__(self) -> str:
13835
14622
  """Return a `str` version of this SecretDataSSHSecretData object."""
@@ -13939,7 +14726,7 @@ class SecretDataTLSSecretData(SecretData):
13939
14726
  raise ValueError('Value for additional property {} must be of type str'.format(k))
13940
14727
  setattr(self, k, v)
13941
14728
  else:
13942
- raise ValueError('Property {} cannot be specified as an additional property'.format(k))
14729
+ raise ValueError('Property {} cannot be specified as an additional property'.format(_key))
13943
14730
 
13944
14731
  def __str__(self) -> str:
13945
14732
  """Return a `str` version of this SecretDataTLSSecretData object."""
@@ -14025,6 +14812,75 @@ class ProjectsPager:
14025
14812
  return results
14026
14813
 
14027
14814
 
14815
+ class AllowedOutboundDestinationPager:
14816
+ """
14817
+ AllowedOutboundDestinationPager can be used to simplify the use of the "list_allowed_outbound_destination" method.
14818
+ """
14819
+
14820
+ def __init__(
14821
+ self,
14822
+ *,
14823
+ client: CodeEngineV2,
14824
+ project_id: str,
14825
+ limit: int = None,
14826
+ ) -> None:
14827
+ """
14828
+ Initialize a AllowedOutboundDestinationPager object.
14829
+ :param str project_id: The ID of the project.
14830
+ :param int limit: (optional) Optional maximum number of allowed outbound
14831
+ destinations per page.
14832
+ """
14833
+ self._has_next = True
14834
+ self._client = client
14835
+ self._page_context = {'next': None}
14836
+ self._project_id = project_id
14837
+ self._limit = limit
14838
+
14839
+ def has_next(self) -> bool:
14840
+ """
14841
+ Returns true if there are potentially more results to be retrieved.
14842
+ """
14843
+ return self._has_next
14844
+
14845
+ def get_next(self) -> List[dict]:
14846
+ """
14847
+ Returns the next page of results.
14848
+ :return: A List[dict], where each element is a dict that represents an instance of AllowedOutboundDestination.
14849
+ :rtype: List[dict]
14850
+ """
14851
+ if not self.has_next():
14852
+ raise StopIteration(message='No more results available')
14853
+
14854
+ result = self._client.list_allowed_outbound_destination(
14855
+ project_id=self._project_id,
14856
+ limit=self._limit,
14857
+ start=self._page_context.get('next'),
14858
+ ).get_result()
14859
+
14860
+ next = None
14861
+ next_page_link = result.get('next')
14862
+ if next_page_link is not None:
14863
+ next = next_page_link.get('start')
14864
+ self._page_context['next'] = next
14865
+ if next is None:
14866
+ self._has_next = False
14867
+
14868
+ return result.get('allowed_outbound_destinations')
14869
+
14870
+ def get_all(self) -> List[dict]:
14871
+ """
14872
+ Returns all results by invoking get_next() repeatedly
14873
+ until all pages of results have been retrieved.
14874
+ :return: A List[dict], where each element is a dict that represents an instance of AllowedOutboundDestination.
14875
+ :rtype: List[dict]
14876
+ """
14877
+ results = []
14878
+ while self.has_next():
14879
+ next_page = self.get_next()
14880
+ results.extend(next_page)
14881
+ return results
14882
+
14883
+
14028
14884
  class AppsPager:
14029
14885
  """
14030
14886
  AppsPager can be used to simplify the use of the "list_apps" method.
@@ -17,4 +17,4 @@
17
17
  """
18
18
  Version of ibm_code_engine_sdk
19
19
  """
20
- __version__ = '4.1.1'
20
+ __version__ = '4.4.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ibm-code-engine-sdk
3
- Version: 4.1.1
3
+ Version: 4.4.1
4
4
  Summary: Python SDK for IBM Cloud Code Engine
5
5
  Home-page: https://github.com/IBM/code-engine-python-sdk
6
6
  Author: IBM
@@ -30,7 +30,7 @@ Requires-Dist: ibm_cloud_sdk_core<4.0.0,>=3.16.0
30
30
  <!--
31
31
  [![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)
32
32
  -->
33
- # Python SDK for IBM Cloud Code Engine 4.1.1
33
+ # Python SDK for IBM Cloud Code Engine 4.4.1
34
34
 
35
35
  Python client library to interact with the [IBM Cloud Code Engine API](https://cloud.ibm.com/apidocs/codeengine).
36
36
 
@@ -67,8 +67,8 @@ IBM Cloud services:
67
67
 
68
68
  Service Name | Imported Class Name
69
69
  --- | ---
70
- [IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.1.1) | CodeEngineV2
71
- [IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.1.1) | IbmCloudCodeEngineV1
70
+ [IBM Cloud Code Engine V2](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.4.1) | CodeEngineV2
71
+ [IBM Cloud Code Engine V1](https://cloud.ibm.com/apidocs/codeengine/codeengine-v4.4.1) | IbmCloudCodeEngineV1
72
72
 
73
73
  ## Prerequisites
74
74
 
@@ -83,13 +83,13 @@ Service Name | Imported Class Name
83
83
  To install, use `pip` or `easy_install`:
84
84
 
85
85
  ```bash
86
- pip install --upgrade "ibm_code_engine_sdk>=4.1.1"
86
+ pip install --upgrade "ibm_code_engine_sdk>=4.4.1"
87
87
  ```
88
88
 
89
89
  or
90
90
 
91
91
  ```bash
92
- easy_install --upgrade "ibm_code_engine_sdk>=4.1.1"
92
+ easy_install --upgrade "ibm_code_engine_sdk>=4.4.1"
93
93
  ```
94
94
 
95
95
  ## Using the SDK
@@ -19,7 +19,7 @@ import os
19
19
  import sys
20
20
  import pkg_resources
21
21
 
22
- __version__ = '4.1.1'
22
+ __version__ = '4.4.1'
23
23
  PACKAGE_NAME = 'ibm_code_engine_sdk'
24
24
  PACKAGE_DESC = 'Python SDK for IBM Cloud Code Engine'
25
25