Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bassel-zeidan committed Sep 22, 2017
1 parent 883538e commit a800ddf
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions python/ibmos2spark/osconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ def __init__(self, sparkcontext, credentials, configuration_name='', bucket_name
in DSX - Notebooks by clicking on the datasources palette then
choose the datasource you want to access then hit insert credentials.
cos_id [optional]: this parameter is the cloud object storage unique id. It is useful
to keep in the class instance for further checks after the initialization. However,
it is not mandatory for the class instance to work. This value can be retrieved by
calling the get_os_id function.
configuration_name [optional]: string that identifies this configuration. You can
use any string you like. This allows you to create
multiple configurations to different Object Storage accounts.
if a configuration name is not passed the default one will be used "service".
bucket_name (projectId in DSX) [optional]: string that identifies the defult
bucket nameyou want to access files from in the COS service instance.
Expand All @@ -202,10 +202,6 @@ def __init__(self, sparkcontext, credentials, configuration_name='', bucket_name
If this value is not specified, you need to pass it when
you use the url function.
NOTE: Hadoop configuration will be set with a service name equals to
the value of cos_id. If cos_id is not set, the default service name "service"
will be used.
'''
self.bucket_name = bucket_name
self.conf_name = configuration_name
Expand Down

0 comments on commit a800ddf

Please sign in to comment.