from module_b import func_b1, func_b2 b1_global = func_b1() b2_global = func_b2() def func_a1(): ... def func_a2(): ...
def func_a(): b = func_b1() ...
def func_a(): b: B = func_b1() ...
def func_a(): from module_b import func_b1 b = func_b1() ...
def func_a(): b: module_b.B = module_b.func_b1() ...
def func_a(): b = module_b.func_b1() ...
import module_b b1_global = module_b.func_b1() b2_global = module_b.func_b2() def func_a1(): ... def func_a2(): ...