Skip to content

Commit

Permalink
Minor documentation fixes (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavius authored Aug 11, 2020
1 parent 2718a9f commit 3ad4e8f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions v3io/dataplane/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def put_item(self,
condition=None):
"""Creates an item with the provided attributes. If an item with the same name (primary key) already exists in
the specified table, the existing item is completely overwritten (replaced with a new item). If the item or
table do not exist, the operation creates them. The max number of values per item is 1000.
table do not exist, the operation creates them.
See:
https://www.iguazio.com/docs/reference/latest-release/api-reference/web-apis/nosql-web-api/putitem/
Expand All @@ -303,6 +303,8 @@ def put_item(self,
1. To provide arrays, pass either a list of integers ([1, 2, 3]), a list of floats ([1.0, 2.0, 3.0]) an
array.array with a typecode of either 'l' (integer) or 'd' (float). The response will always either be
a list of integers or a list of floats (never an array.array)
2. To provide a timestamp, pass a datetime.datetime. Whatever the timezone, it will be stored as UTC and
a UTC datetime will be retreived when read
Parameters
----------
Expand Down Expand Up @@ -781,7 +783,8 @@ def put_records(self, container, path, records, access_key=None, raise_for_statu
You can optionally assign a record to specific stream shard by specifying a related shard ID, or associate
the record with a specific partition key to ensure that similar records are assigned to the same shard.
By default, the platform assigns records to shards using a Round Robin algorithm.
By default, the platform assigns records to shards using a Round Robin algorithm. The max number of records
is 1000.
See:
https://www.iguazio.com/docs/reference/latest-release/api-reference/web-apis/streaming-web-api/putrecords/
Expand Down

0 comments on commit 3ad4e8f

Please sign in to comment.