Skip to content

Commit

Permalink
Changing arrangement of doc param and types to be consistent (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Lum committed Feb 24, 2017
1 parent aa0f223 commit 80b6363
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/python/covata/delta/apiclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def register_identity(self, public_encryption_key, public_signing_key,
:param str public_signing_key:
the public signing key to associate with the identity
:param external_id: the external id to associate with the identity
:param metadata: the metadata to associate with the identity
:type external_id: str | None
:param metadata: the metadata to associate with the identity
:type metadata: dict[str, str] | None
:return: the id of the newly created identity
:rtype: str
Expand Down
10 changes: 5 additions & 5 deletions src/main/python/covata/delta/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def create_identity(self, external_id=None, metadata=None):
Creates a new identity in Delta.
:param external_id: the external id to associate with the identity
:param metadata: the metadata to associate with the identity
:type external_id: str | None
:param metadata: the metadata to associate with the identity
:type metadata: dict[str, str] | None
:return: the identity
:rtype: :class:`~.Identity`
Expand Down Expand Up @@ -167,12 +167,12 @@ def __init__(self, parent, id, public_encryption_key,
and external id.
:param parent: the Delta client that constructed this instance
:type parent: :class:`~.Client`
:param id: the id of the identity
:param str public_encryption_key: the public signing key of the identity
:param external_id: the external id of the identity
:param metadata: the metadata belonging to the identity
:type parent: :class:`~.Client`
:type external_id: str | None
:param metadata: the metadata belonging to the identity
:type metadata: dict[str, str] | None
"""
self.__parent = parent
Expand Down Expand Up @@ -229,13 +229,13 @@ def __init__(self, parent, id, created, rsa_key_owner, created_by,
Creates a new secret with the given parameters.
:param parent: the Delta client that constructed this instance
:type parent: :class:`~.Client`
:param str id: the id of the secret
:param str created: the created date
:param str rsa_key_owner: the identity id of the RSA key owner
:param str created_by: the identity id of the secret creator
:param encryption_details: the encryption details of the secret
:type parent: :class:`~.Client`
:type encryption_details: :class:`~.'EncryptionDetails`
:type encryption_details: :class:`~.EncryptionDetails`
"""
self.__parent = parent
self.__id = id
Expand Down

0 comments on commit 80b6363

Please sign in to comment.