Skip to content
Open
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
11 changes: 11 additions & 0 deletions using-nats/developing-with-nats/js/kv.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,17 @@ async def create_key_value(
"""
create_key_value takes an api.KeyValueConfig and creates a KV in JetStream.
"""

async def key_value(
self,
config: Optional[api.KeyValueConfig] = None,
**params,
) -> KeyValue:
"""
key_value retrieves the bucket with the passed name, if it exists
"""



async def delete_key_value(self, bucket: str) -> bool:
"""
Expand Down