Skip to content

Commit

Permalink
Fix Bug and update documentation. (#23)
Browse files Browse the repository at this point in the history
* Bump version to 1.0.2-dev0

* Update documentation (#21).
Fix Bug (#22).
  • Loading branch information
SofianeB authored Apr 14, 2018
1 parent dc4ba07 commit 78274ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/pyhandleclientdb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ order to instantiate the DB client.

.. code:: python
from pyhandle.handleclient import PyHandleClient
client = PyHandleClient('db', credentials)
The credentials can loaded from a file or passed as a dictionary to the PyHandleClient
Expand Down
2 changes: 2 additions & 0 deletions docs/source/pyhandleclientrest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ user credentials to use etc. Several different instantiation methods are availab

.. code:: python
from pyhandle.handleclient import PyHandleClient
client = PyHandleClient('rest').instantiate_...(...)
Expand Down Expand Up @@ -60,6 +61,7 @@ Instantiation can be performed when specifying the client as follows:

.. code:: python
from pyhandle.handleclient import PyHandleClient
client = PyHandleClient('rest').instantiate_...()
.. note::
Expand Down
2 changes: 1 addition & 1 deletion pyhandle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0.1"
__version__ = "1.0.2-dev0"

# The version as used in setup.py and docs/source/conf.py.

Expand Down
2 changes: 1 addition & 1 deletion pyhandle/handleclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def create_batch_file(self, overwrite=False):
return self.handle_client.create_batch_file(overwrite)

def instantiate_for_read_access(self, **config):
return self.handle_client.instantiate_for_read_access(config)
return self.handle_client.instantiate_for_read_access(**config)

def instantiate_with_credentials(self, credentials, **config):
return self.handle_client.instantiate_with_credentials(credentials, **config)
Expand Down

0 comments on commit 78274ee

Please sign in to comment.