File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 23
23
from ibm_cloud_sdk_core import ApiException , read_external_sources
24
24
from ibm_platform_services .case_management_v1 import *
25
25
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
+
26
36
# Config file name
27
37
config_file = 'case_management.env'
28
38
@@ -60,7 +70,8 @@ def setup_class(cls):
60
70
61
71
# Load the configuration
62
72
global config
63
- config = read_external_sources (CaseManagementV1 .DEFAULT_SERVICE_NAME )
73
+ config = read_external_sources (
74
+ CaseManagementV1 .DEFAULT_SERVICE_NAME )
64
75
65
76
global resource_crn
66
77
resource_crn = config ['RESOURCE_CRN' ]
@@ -314,7 +325,8 @@ def test_download_file_example(self):
314
325
315
326
file = response .get_result ()
316
327
317
- print ('Attachment content-type:' , response .get_headers ()['content-type' ])
328
+ print ('Attachment content-type:' ,
329
+ response .get_headers ()['content-type' ])
318
330
print ('Attachment contents:' , file .content )
319
331
320
332
# end-downloadFile
You can’t perform that action at this time.
0 commit comments