Skip to content

Commit 23e214b

Browse files
committed
chore: minor changes to examples
1 parent 0cf12b1 commit 23e214b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

examples/test_case_management_v1_examples.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
from ibm_cloud_sdk_core import ApiException, read_external_sources
2424
from ibm_platform_services.case_management_v1 import *
2525

26+
#
27+
# This file provides an example of how to use the Case Management service.
28+
#
29+
# CASE_MANAGEMENT_URL=<service url>
30+
# CASE_MANAGEMENT_AUTHTYPE=iam
31+
# CASE_MANAGEMENT_APIKEY=<IAM apikey>
32+
# CASE_MANAGEMENT_AUTH_URL=<IAM token service URL - omit this if using the production environment>
33+
# CASE_MANAGEMENT_RESOURCE_CRN=<cloud resource name>
34+
#
35+
2636
# Config file name
2737
config_file = 'case_management.env'
2838

@@ -60,7 +70,8 @@ def setup_class(cls):
6070

6171
# Load the configuration
6272
global config
63-
config = read_external_sources(CaseManagementV1.DEFAULT_SERVICE_NAME)
73+
config = read_external_sources(
74+
CaseManagementV1.DEFAULT_SERVICE_NAME)
6475

6576
global resource_crn
6677
resource_crn = config['RESOURCE_CRN']
@@ -314,7 +325,8 @@ def test_download_file_example(self):
314325

315326
file = response.get_result()
316327

317-
print('Attachment content-type:', response.get_headers()['content-type'])
328+
print('Attachment content-type:',
329+
response.get_headers()['content-type'])
318330
print('Attachment contents:', file.content)
319331

320332
# end-downloadFile

0 commit comments

Comments
 (0)