Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation in docstrings #112

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions v3io/dataplane/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def close(self):
def get_containers(self, access_key=None, raise_for_status=None, transport_actions=None):
"""Lists the containers that are visible to the user who sent the request, according to its tenant.

DEPRECATED: use container.get
DEPRECATED: use container.list

Parameters
----------
Expand Down Expand Up @@ -856,7 +856,7 @@ def seek_shard(
def put_records(self, container, path, records, access_key=None, raise_for_status=None, transport_actions=None):
"""Adds records to a stream.

DEPRECATED. Use stream.put
DEPRECATED. Use stream.put_records

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.
Expand Down Expand Up @@ -927,7 +927,7 @@ def get_records(
):
"""Retrieves (consumes) records from a stream shard.

DEPRECATED. Use stream.get
DEPRECATED. Use stream.get_records

See https://www.iguazio.com/docs/latest-release/data-layer/reference/web-apis/streaming-web-api/getrecords/.

Expand Down