I prefer to list all the imports at the beginning of the module, but I am not strongly opposed to do imports this way either.