#!/usr/bin/env python
from __future__ import print_function
for u in env['res.users'].search([]):
print(u.login, u.name)
In my vs code it shows warning that env is not defined, is there a way to make that warning disappear? The closes thing I could find was the key word global but I don't thing it is usable here.
In the example in the
README
file you have this:In my
vs code
it shows warning thatenv
is not defined, is there a way to make that warning disappear? The closes thing I could find was the key wordglobal
but I don't thing it is usable here.My question: how to make this warning disappear?