diff --git a/python/README.md b/python/README.md index 805d005..aaa1d6f 100644 --- a/python/README.md +++ b/python/README.md @@ -43,7 +43,7 @@ credentials = { } configuration_name = 'cos_config_string' #you can give any string you like -cos = ibmos2spark.CloudObjectStorage(sc, credentials, configuration_name) #sc is the SparkContext instance. +cos = ibmos2spark.CloudObjectStorage(sparkcontext=sc, credentials=credentials, configuration_name=configuration_name) #sc is the SparkContext instance. bucket_name = 'some_bucket_name' object_name = 'file1'