gleb-chipiga / aioairtable Goto Github PK
View Code? Open in Web Editor NEWAsynchronous client library for Airtable API
License: MIT License
Asynchronous client library for Airtable API
License: MIT License
I tried to use this library to work with Airtable using the API, copied the code from the main page of the project to Github, after a second an error was raised:
AttributeError: module 'attr' has no attribute 'setters'
Я установил эту библиотеку используя pipy, после запуска кода из главной страницы проекта, заменив соответствующие данные на свои запуск не удался. У меня отобразилась ошибка:
records, offset = await table.list_records( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/maksym-ub/aioairtable/lib/python3.11/site-packages/aioairtable/aioairtable.py", line 269, in list_records record_list: RecordList = await self._request('GET', url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/maksym-ub/aioairtable/lib/python3.11/site-packages/aioairtable/aioairtable.py", line 229, in _request return await self._base.request(method, url, json=json) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/maksym-ub/aioairtable/lib/python3.11/site-packages/aioairtable/aioairtable.py", line 198, in request return await self._airtable.request(self._id, method, url, json=json) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/maksym-ub/aioairtable/lib/python3.11/site-packages/backoff/_async.py", line 138, in retry wait = _init_wait_gen(wait_gen, wait_gen_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/maksym-ub/aioairtable/lib/python3.11/site-packages/backoff/_common.py", line 30, in _init_wait_gen initialized.send(None) # Initialize with an empty send ^^^^^^^^^^^^^^^^^^^^^^ File "/home/maksym-ub/aioairtable/lib/python3.11/site-packages/aioairtable/aioairtable.py", line 109, in backoff_wait_gen yield AT_WAIT + value ~~~~~~~~^~~~~~~ TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
После недолгих разбирательств я обнаружил, что ранее установленная версия используя pipy это == 0.0.14.
В то время как последняя версия этой библиотеки на github является == 0.0.19.
Я попытался обновить снова библиотеку используя pip, так как возможно произошла ошибка, но это не помогло мне, последняя версия в pipy == 0.0.14.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.