Skip to content

contacts bug #16

@abolfazlMKazemi

Description

@abolfazlMKazemi

when i use this code
from rubpy import Client
import asyncio

async def main():
async with Client(name='rubpy') as bot:
result = await bot.get_contacts()
print(result)

asyncio.run(main())

i get error

<coroutine object Builder.builder at 0x105ca7ac0>
/opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/events.py:88: RuntimeWarning: coroutine 'Builder.builder' was never awaited
self._context.run(self._callback, *self._args)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

how solve it?please help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions