python. Query field attribute, attributes code-gen, fixed #151.