Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A os django.core.management.base BaseCommand django.core.serializers serialize django.utils.translation ugettext_lazy settings ONADATA_DIR onadata.apps.logger.models XForm Instance Command N/A BaseCommand N/A N/A help N/A ugettext_lazy Export ODK forms and instances to JSON. handle N/A N/A self N/A args kwargs N/A N/A fixtures_dir N/A N/A N/A os path join ONADATA_DIR json_xform_fixtures N/A N/A N/A N/A N/A os path exists fixtures_dir N/A N/A N/A N/A os mkdir fixtures_dir N/A xform_fp N/A N/A N/A os path join fixtures_dir a-xforms.json N/A instance_fp N/A N/A N/A os path join fixtures_dir b-instances.json N/A xfp N/A open xform_fp w N/A N/A N/A xfp write N/A serialize json N/A N/A N/A XForm objects all N/A N/A N/A xfp close N/A ifp N/A open instance_fp w N/A N/A N/A ifp write N/A serialize json N/A N/A N/A Instance objects all N/A N/A N/A ifp close N/A N/A