Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num body Expr Str If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad BoolOpOr NameLoad Str If NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str orelse Assign NameStore Call NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword BinOpAdd NameLoad Num orelse If Call NameLoad NameLoad NameLoad body If CompareEq NameLoad Num body Assign NameStore Call NameLoad BoolOpOr NameLoad Str orelse Assign NameStore Call NameLoad BoolOpOr NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword BinOpAdd NameLoad Num orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad Str body If BoolOpAnd CompareEq Call NameLoad NameLoad Str NameLoad Str CompareEq AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num orelse Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num orelse If BoolOpAnd CompareEq Call NameLoad NameLoad Str NameLoad Str CompareEq AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad BoolOpOr NameLoad Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr BinOpAdd NameLoad Num orelse Assign NameStore Call NameLoad BoolOpOr NameLoad Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword BinOpAdd NameLoad Num orelse Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call NameLoad BoolOpOr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad If CompareNotEq NameLoad Str body If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list
N/A io BytesIO django.utils.encoding force_unicode tastypie.bundle Bundle tastypie.serializers Serializer get_type_string N/A defusedxml.lxml lxml lxml.etree Element CommCareCaseSerializer N/A Serializer N/A N/A 
    A custom serializer that emits XML that matches a case's
    definition according to CaseXML rather than the
    automated Tastypie equivalent of the JSON output
     case_to_etree N/A N/A self case N/A N/A N/A 
        Encapsulates the version passed to `CommCareCase.to_xml` and
        the temporary hack of re-parsing it. TODO: expose a direct etree
        encoding in casexml?
         N/A N/A N/A N/A N/A lxml parse N/A BytesIO N/A N/A case to_xml 2.0 getroot N/A bundle_to_etree N/A N/A self bundle N/A N/A N/A 
        A new override point we have added - how to convert a single-object bundle to XML.
        The list endpoint will re-use this. TODO: PR against tastypie to expose this hook?
         N/A N/A N/A self case_to_etree N/A bundle obj N/A to_etree N/A N/A self data options name depth N/A None None 0 N/A N/A 
        Exact duplicate of tastypie.serializers.Serializer.to_etree with modification because
        it does not expose sufficient APIs to customize just at the bundle level while reusing
        all this same envelope code.
         N/A N/A isinstance data N/A list tuple N/A N/A element N/A Element N/A name objects N/A name N/A N/A element N/A Element name N/A N/A N/A element set type list N/A N/A element N/A Element objects N/A item data N/A N/A N/A N/A element append N/A N/A self to_etree item options depth N/A depth 1 N/A N/A N/A isinstance data dict N/A N/A N/A depth 0 N/A N/A element N/A Element N/A name response N/A N/A element N/A Element N/A name object N/A N/A N/A element set type hash N/A N/A key value N/A N/A data iteritems N/A N/A N/A N/A element append N/A N/A self to_etree value options name key depth N/A depth 1 N/A N/A N/A isinstance data Bundle N/A N/A element N/A N/A self bundle_to_etree data N/A N/A N/A hasattr data dehydrated_type N/A N/A N/A N/A N/A getattr data dehydrated_type None related N/A N/A data is_m2m False N/A N/A N/A data full N/A N/A N/A N/A self to_etree N/A data fk_resource options name N/A depth 1 N/A N/A N/A N/A self to_etree N/A data value options name N/A depth 1 N/A N/A N/A N/A N/A getattr data dehydrated_type None related N/A N/A data is_m2m True N/A N/A N/A data full N/A N/A element N/A Element N/A name objects N/A bundle N/A data m2m_bundles N/A N/A N/A N/A element append N/A N/A self to_etree bundle options N/A bundle resource_name N/A depth 1 N/A N/A element N/A Element N/A name objects N/A value N/A data value N/A N/A N/A N/A element append N/A N/A self to_etree value options name depth N/A depth 1 N/A N/A N/A N/A self to_etree N/A data value options name N/A N/A element N/A Element N/A name value N/A simple_data N/A N/A self to_simple data options N/A data_type N/A get_type_string simple_data N/A N/A data_type string N/A N/A N/A N/A element set type N/A get_type_string simple_data N/A N/A data_type null N/A N/A N/A isinstance simple_data unicode N/A N/A N/A element text simple_data N/A N/A N/A element text N/A force_unicode simple_data N/A element N/A N/A CustomXMLSerializer N/A Serializer N/A to_etree N/A N/A self data options name depth N/A None None 0 N/A N/A N/A isinstance name basestring N/A N/A name N/A N/A name strip N/A etree N/A N/A N/A super CustomXMLSerializer self to_etree data options name depth N/A id N/A N/A etree find id N/A N/A id None N/A N/A N/A N/A etree attrib N/A id N/A N/A id findtext . N/A N/A N/A etree remove id N/A etree N/A N/A XFormInstanceSerializer N/A Serializer N/A to_xml N/A N/A self data options N/A None N/A N/A N/A isinstance data Bundle N/A N/A N/A N/A N/A data obj get_xml N/A N/A N/A N/A N/A super XFormInstanceSerializer self to_xml data options options N/A N/A