indigo-dc / flaat

FLAsk with Access Tokens - FLAAT
MIT License
11 stars 6 forks source link

'Flaat' object has no attribute 'set_timeout' #54

Open BorjaEst opened 2 years ago

BorjaEst commented 2 years ago

I have the following error:

Exception has occurred: AttributeError
'Authorization' object has no attribute 'set_timeout'

It looks it is renamed to set_request_timeout, however the example it is still outdated: https://github.com/indigo-dc/flaat/blob/b0d72027038a12fe9529ea91da676fc4725f569f/examples/example_flask.py#L46

dianagudu commented 2 years ago

I believe only the aiohttp example is up to date, flask and fastapi need some work (e.g. also use of outdated requirements ValidLogin and HasGroup).

marcvs commented 2 years ago

Right; The other examples still need to be adapted to the new flaat