Closed maxkrivich closed 3 years ago
Tested on sanic==19.12.0 and it works, so just add compatibility with new sanic.
Ugh yeah I rushed that part the other day as it wasn't working with newer sanic, I'll fix the if statement on the weekend
This is still an issue I believe? There hasn't been a release after this date it seems.
Yeah my bad, it seems travis died. Will look into moving this to github actions
I've released 4.0.0 so that should solve things for you.
Here's a small example of my error, the most obvious solution is to use
hasattr
or.get
, but I have not idea what going on underhood of this lib.(REMARK: Looks like you are doing the check of attr not in a super-efficient way)
From documentation of this method, it's hard to understand what
request
type isMy env: Python 3.8