Windows 10 Pro/19042.928
Sublime Text 4/Build 4102
import in hooks defined in env/envfile doesn't work
request:
###env
import json
class TokenAuth:
def __call__(self, r, stream, cert, timeout, verify, proxies):
json.loads('{"a":"a"}')
###env
requests.post('https://wp.pl', hooks={'response': TokenAuth()})
console output:
error: requests.post('https://wp.pl', hooks={'response': TokenAuth()})
Other Error: 'NoneType' object has no attribute 'loads'