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

Немогу запустить код из примера #11

Open
shared-object opened this issue Mar 9, 2023 · 1 comment
Open

Comments

@shared-object
Copy link

При запуске кода из примера выдает ошибку:

Traceback (most recent call last):
  File "/data/data/com.termux/files/home/test.py", line 3, in <module>
    from aiograph import Telegraph
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/aiograph/__init__.py", line 1, in <module>
    from . import types
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/aiograph/types/__init__.py", line 6, in <module>
    from .page_list import PageList
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/aiograph/types/page_list.py", line 13, in <module>
    class PageList(TelegraphObject):
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/aiograph/types/page_list.py", line 21, in PageList
    pages: List[Page] = ib(factory=list, convert=pages_converter)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: attrib() got an unexpected keyword argument 'convert'```
@alteralt
Copy link

Look at #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants