Skip to content

Commit 49af699

Browse files
committed
follow up
1 parent 6a1d457 commit 49af699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ credentials = {
4343
}
4444

4545
configuration_name = 'cos_config_string' #you can give any string you like
46-
cos = ibmos2spark.CloudObjectStorage(sc, credentials, configuration_name) #sc is the SparkContext instance.
46+
cos = ibmos2spark.CloudObjectStorage(sparkcontext=sc, credentials=credentials, configuration_name=configuration_name) #sc is the SparkContext instance.
4747

4848
bucket_name = 'some_bucket_name'
4949
object_name = 'file1'

0 commit comments

Comments
 (0)