I think we should avoid using from module import X and then using directly X in the code.
Alternatively, we can either use: import module as M or simply import module. This would increase clarity (i.e. where is that method X defined?)
What do you think @APJansen ?
I think we should avoid using
from module import Xand then using directly X in the code.Alternatively, we can either use:
import module as Mor simplyimport module. This would increase clarity (i.e. where is that method X defined?)What do you think @APJansen ?