Skip to content

Commit a80fd69

Browse files
committed
Update readme file
1 parent a800ddf commit a80fd69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and adding it to your local Apache Spark kernel's classpath.
1414

1515
## Installation
1616

17-
This library is now installed by default on IBM Apache Spark.
17+
This library is now installed by default on IBM Apache Spark.
1818

1919
```
2020
pip install --user --upgrade ibmos2spark
@@ -42,7 +42,8 @@ credentials = {
4242
'secret_key': ''
4343
}
4444

45-
cos = ibmos2spark.CloudObjectStorage(sc, credentials) #sc is the SparkContext instance
45+
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. configuration_name is optional param
4647

4748
bucket_name = 'some_bucket_name'
4849
object_name = 'file1'

0 commit comments

Comments
 (0)