chore(python): Annotate untyped module constants (#27907)