Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix doc
  • Loading branch information
annie-mac committed Sep 17, 2024
commit 95572e39beb2feb9a1c710a4e5cf189fac9d3757
10 changes: 7 additions & 3 deletions sdk/cosmos/azure-cosmos/azure/cosmos/_feed_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@


class FeedRange(ABC):
"""Represents a single feed range in an Azure Cosmos DB SQL API container. """
"""Represents a single feed range in an Azure Cosmos DB SQL API container.

"""

def to_string(self) -> str:
"""Get a json representation of the feed range.
The returned json string can be used to create a new feed range from it.
"""
Get a json representation of the feed range.
The returned json string can be used to create a new feed range from it.
:return: A json representation of the feed range.
:rtype: str
"""

return self._to_base64_encoded_string()

@staticmethod
Expand Down