Skip to content

Commit 6f88324

Browse files
Copilots3rius
andcommitted
Fix StreamsManager.get/delete parameter name from 'bucket' to 'name' in pyi stub
Co-authored-by: s3rius <18153319+s3rius@users.noreply.github.com> Agent-Logs-Url: https://github.com/taskiq-python/natsrpy/sessions/87bfdb05-f9a1-4470-8d3a-4d40d90a4871
1 parent f2444b1 commit 6f88324

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/natsrpy/_natsrpy_rs/js/managers.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ from .stream import Stream, StreamConfig
1414
class StreamsManager:
1515
async def create(self, config: StreamConfig) -> Stream: ...
1616
async def create_or_update(self, config: StreamConfig) -> Stream: ...
17-
async def get(self, bucket: str) -> Stream: ...
18-
async def delete(self, bucket: str) -> bool: ...
17+
async def get(self, name: str) -> Stream: ...
18+
async def delete(self, name: str) -> bool: ...
1919
async def update(self, config: StreamConfig) -> Stream: ...
2020

2121
class KVManager:

0 commit comments

Comments
 (0)