Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If NameLoad body If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Call SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIsNot Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list Assign NameStore Dict Assign NameStore Dict If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return Call NameLoad NameLoad keyword NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Str Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Str Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Dict decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return Dict decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEqEqEq NameLoad NameLoad NameLoad NameLoad body Pass Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn Str NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Return Call NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Assign AttributeStore NameLoad attr CompareIn AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return IfExp AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If NameLoad body Assert CompareEq Call NameLoad NameLoad Num Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Return Call NameLoad keyword SubscriptLoad NameLoad Index AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return BinOpMod Str NameLoad decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Return Call NameLoad keyword SubscriptLoad NameLoad Index NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad decorator_list Assign NameStore Dict NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A N/A 
This isn't really a parser, but it's the code that generates case-like
objects from things from xforms.
 N/A os N/A datetime casexml.apps.case const casexml.apps.case.models CommCareCaseAction casexml.apps.case.xml DEFAULT_VERSION V1 V2 NS_REVERSE_LOOKUP_MAP dimagi.utils.parsing string_to_utc_datetime N/A XMLNS_ATTR @xmlns N/A KNOWN_PROPERTIES N/A name external_id type owner_id opened_on user_id None get_version N/A N/A case_block N/A N/A N/A 
    Given a case block, determine what version it is.
     N/A xmlns N/A N/A case_block get XMLNS_ATTR N/A xmlns N/A N/A N/A xmlns NS_REVERSE_LOOKUP_MAP N/A N/A N/A CaseGenerationException N/A %s not a valid case xmlns. We don't know how to handle this version. xmlns N/A N/A NS_REVERSE_LOOKUP_MAP N/A xmlns N/A DEFAULT_VERSION N/A CaseGenerationException N/A Exception N/A N/A 
    When anything illegal/unexpected happens while working with case parsing
     N/A N/A case_update_from_block N/A N/A case_block N/A N/A N/A case_version N/A get_version case_block N/A N/A N/A VERSION_FUNCTION_MAP N/A case_version case_block N/A CaseActionBase N/A object N/A N/A action_type_slug None __init__ N/A N/A self block type name external_id user_id owner_id opened_on dynamic_properties indices attachments N/A None None None None None None None None None N/A N/A N/A self raw_block block N/A N/A self type type N/A N/A self name name N/A N/A self external_id external_id N/A N/A self user_id user_id N/A N/A self owner_id owner_id N/A N/A self opened_on opened_on N/A N/A self dynamic_properties N/A dynamic_properties N/A N/A N/A self indices N/A indices N/A N/A N/A self attachments N/A attachments N/A N/A get_known_properties N/A N/A self N/A N/A N/A N/A dict N/A N/A p N/A getattr self p N/A p N/A N/A KNOWN_PROPERTIES keys N/A N/A getattr self p None N/A _from_block_and_mapping N/A N/A cls block mapping N/A N/A _normalize N/A N/A val N/A N/A N/A N/A isinstance val list N/A N/A N/A val N/A -1 N/A val N/A N/A kwargs N/A N/A dynamic_properties N/A N/A N/A isinstance block dict N/A N/A N/A k v N/A N/A block items N/A N/A N/A k mapping N/A N/A N/A kwargs N/A N/A mapping N/A k v N/A N/A N/A dynamic_properties N/A k N/A _normalize v N/A N/A cls block dynamic_properties dynamic_properties kwargs N/A classmethod from_v1 N/A N/A cls block N/A N/A N/A mapping N/A N/A const CASE_TAG_TYPE_ID N/A const CASE_TAG_NAME N/A const CASE_TAG_EXTERNAL_ID N/A const CASE_TAG_USER_ID N/A const CASE_TAG_OWNER_ID N/A const CASE_TAG_DATE_OPENED type name external_id user_id owner_id opened_on N/A N/A N/A cls _from_block_and_mapping block mapping N/A classmethod from_v2 N/A N/A cls block N/A N/A N/A mapping N/A N/A const CASE_TAG_TYPE N/A const CASE_TAG_NAME N/A const CASE_TAG_EXTERNAL_ID N/A const CASE_TAG_USER_ID N/A const CASE_TAG_OWNER_ID N/A const CASE_TAG_DATE_OPENED type name external_id user_id owner_id opened_on N/A N/A N/A cls _from_block_and_mapping block mapping N/A classmethod N/A CaseNoopAction N/A CaseActionBase N/A N/A 
    Form completed against case without updating any properties (empty case block)
     N/A action_type_slug N/A const CASE_ACTION_UPDATE get_known_properties N/A N/A self N/A N/A N/A N/A N/A N/A CaseCreateAction N/A CaseActionBase N/A N/A action_type_slug N/A const CASE_ACTION_CREATE N/A CaseUpdateAction N/A CaseActionBase N/A N/A action_type_slug N/A const CASE_ACTION_UPDATE N/A CaseCloseAction N/A CaseActionBase N/A N/A action_type_slug N/A const CASE_ACTION_CLOSE N/A AbstractAction N/A object N/A __init__ N/A N/A self action_type_slug N/A N/A N/A N/A self action_type_slug action_type_slug N/A N/A self dynamic_properties N/A N/A N/A self indices N/A N/A N/A self attachments N/A N/A get_known_properties N/A N/A self N/A N/A N/A N/A N/A N/A CaseAttachment N/A object N/A N/A 
    A class that wraps an attachment to a case
     __init__ N/A N/A self identifier attachment_src attachment_from attachment_name N/A N/A N/A 
        identifier: the tag name
        attachment_src: URL of attachment
        attachment_from: source [local, remote, inline]
        attachment_name: required if inline for inline blob of attachment - likely identical to identifier
         N/A N/A self identifier identifier N/A N/A self attachment_src attachment_src N/A N/A self attachment_from attachment_from N/A N/A self attachment_name attachment_name N/A N/A CaseAttachmentAction N/A CaseActionBase N/A N/A action_type_slug N/A const CASE_ACTION_ATTACHMENT __init__ N/A N/A self block attachments N/A N/A N/A N/A N/A N/A super CaseAttachmentAction self __init__ block attachments attachments N/A from_v1 N/A N/A cls block N/A N/A N/A N/A cls block N/A N/A classmethod from_v2 N/A N/A cls block N/A N/A N/A attachments N/A N/A N/A id data N/A N/A block items N/A N/A N/A isinstance data basestring N/A N/A attachment_from None N/A attachment_src None N/A attachment_name None N/A N/A attachment_from N/A N/A data get @from None N/A attachment_src N/A N/A data get @src None N/A attachment_name N/A N/A data get @name None N/A N/A attachment_from attachment_src attachment_name None N/A N/A N/A N/A attachments N/A id N/A CaseAttachment id attachment_src attachment_from attachment_name N/A N/A cls block attachments N/A classmethod N/A CaseIndex N/A object N/A N/A 
    A class that holds an index to a case.
     __init__ N/A N/A self identifier referenced_type referenced_id relationship N/A child N/A N/A N/A self identifier identifier N/A N/A self referenced_type referenced_type N/A N/A self referenced_id referenced_id N/A N/A self relationship relationship N/A N/A CaseIndexAction N/A CaseActionBase N/A N/A 
    Action describing updates to the case indices
     N/A action_type_slug N/A const CASE_ACTION_INDEX __init__ N/A N/A self block indices N/A N/A N/A N/A N/A N/A super CaseIndexAction self __init__ block indices indices N/A get_known_properties N/A N/A self N/A N/A N/A N/A N/A from_v1 N/A N/A cls block N/A N/A N/A N/A cls block N/A N/A classmethod from_v2 N/A N/A cls block N/A N/A N/A indices N/A N/A N/A id data N/A N/A block items N/A N/A N/A @case_type data N/A N/A N/A CaseGenerationException Invalid index, must have a case type attribute. N/A N/A N/A indices append N/A CaseIndex id N/A data N/A @case_type N/A N/A data get #text N/A N/A data get @relationship child N/A N/A cls block indices N/A classmethod N/A CaseUpdate N/A object N/A N/A 
    A temporary model that parses the data from the form consistently.
    The actual Case objects use this to update themselves.
     __init__ N/A N/A self id version block user_id modified_on_str N/A N/A N/A N/A self id id N/A N/A self version version N/A N/A self user_id user_id N/A N/A self modified_on_str modified_on_str N/A N/A self raw_block block N/A N/A self create_block N/A N/A block get N/A const CASE_ACTION_CREATE N/A N/A N/A self update_block N/A N/A block get N/A const CASE_ACTION_UPDATE N/A N/A N/A self close_block N/A N/A block get N/A const CASE_ACTION_CLOSE N/A N/A N/A self _closes_case N/A N/A const CASE_ACTION_CLOSE block N/A N/A self index_block N/A N/A block get N/A const CASE_ACTION_INDEX N/A N/A N/A self attachment_block N/A N/A block get N/A const CASE_ACTION_ATTACHMENT N/A N/A N/A self referral_block N/A N/A block get N/A const REFERRAL_TAG N/A N/A N/A self actions N/A N/A N/A N/A self creates_case N/A N/A N/A N/A N/A self actions append N/A N/A CREATE_ACTION_FUNCTION_MAP N/A N/A self version N/A self create_block N/A N/A N/A self updates_case N/A N/A N/A N/A N/A self actions append N/A N/A UPDATE_ACTION_FUNCTION_MAP N/A N/A self version N/A self update_block N/A N/A N/A self closes_case N/A N/A N/A N/A N/A self actions append N/A N/A CLOSE_ACTION_FUNCTION_MAP N/A N/A self version N/A self close_block N/A N/A N/A self has_indices N/A N/A N/A N/A N/A self actions append N/A N/A INDEX_ACTION_FUNCTION_MAP N/A N/A self version N/A self index_block N/A N/A N/A self has_attachments N/A N/A N/A N/A N/A self actions append N/A N/A ATTACHMENT_ACTION_FUNCTION_MAP N/A N/A self version N/A self attachment_block N/A N/A N/A self actions N/A N/A N/A N/A N/A self actions append N/A N/A NOOP_ACTION_FUNCTION_MAP N/A N/A self version N/A N/A guess_modified_on N/A N/A self N/A N/A N/A 
        Guess the modified date, defaulting to the current time in UTC.
         N/A N/A N/A self modified_on_str N/A string_to_utc_datetime N/A self modified_on_str N/A N/A N/A datetime datetime utcnow N/A creates_case N/A N/A self N/A N/A N/A N/A bool N/A self create_block N/A updates_case N/A N/A self N/A N/A N/A N/A bool N/A self update_block N/A closes_case N/A N/A self N/A N/A N/A N/A self _closes_case N/A has_indices N/A N/A self N/A N/A N/A N/A bool N/A self index_block N/A has_referrals N/A N/A self N/A N/A N/A N/A bool N/A self referral_block N/A has_attachments N/A N/A self N/A N/A N/A N/A bool N/A self attachment_block N/A get_case_actions N/A N/A self xformdoc N/A N/A N/A 
        Gets case actions from this object. These are the actual objects that get stored
        in the CommCareCase model (as opposed to the parser's representation of those)
         N/A N/A N/A N/A CommCareCaseAction from_parsed_action N/A N/A self guess_modified_on N/A self user_id xformdoc action N/A action N/A self actions N/A __str__ N/A N/A self N/A N/A N/A N/A %s: %s N/A N/A self version N/A self id N/A _filtered_action N/A N/A self func N/A N/A N/A filtered N/A filter func N/A self actions N/A filtered N/A N/A N/A N/A len filtered 1 N/A N/A filtered N/A 0 N/A get_create_action N/A N/A self N/A N/A N/A N/A N/A self _filtered_action N/A N/A N/A a N/A N/A isinstance a CaseCreateAction N/A get_update_action N/A N/A self N/A N/A N/A N/A N/A self _filtered_action N/A N/A N/A a N/A N/A isinstance a CaseUpdateAction N/A get_close_action N/A N/A self N/A N/A N/A N/A N/A self _filtered_action N/A N/A N/A a N/A N/A isinstance a CaseCloseAction N/A get_index_action N/A N/A self N/A N/A N/A N/A N/A self _filtered_action N/A N/A N/A a N/A N/A isinstance a CaseIndexAction N/A get_attachment_action N/A N/A self N/A N/A N/A N/A N/A self _filtered_action N/A N/A N/A a N/A N/A isinstance a CaseAttachmentAction N/A from_v1 N/A N/A cls case_block N/A N/A N/A 
        Gets a case update from a version 1 case. 
        Spec: https://bitbucket.org/javarosa/javarosa/wiki/casexml
         N/A N/A N/A const CASE_TAG_ID case_block N/A N/A N/A CaseGenerationException No case_id element found in v1 case block, this is a required property. N/A modified_on N/A N/A case_block get N/A const CASE_TAG_MODIFIED N/A N/A cls id N/A case_block N/A N/A const CASE_TAG_ID version V1 block case_block modified_on_str modified_on N/A classmethod from_v2 N/A N/A cls case_block N/A N/A N/A 
        Gets a case update from a version 2 case. 
        Spec: https://github.com/dimagi/commcare/wiki/casexml20
         _to_attr N/A N/A val N/A N/A N/A N/A @%s val N/A N/A case_id_attr N/A _to_attr N/A const CASE_TAG_ID N/A N/A case_id_attr case_block N/A N/A N/A CaseGenerationException No case_id attribute found in v2 case block, this is a required property. N/A user_id N/A N/A case_block get N/A _to_attr N/A const CASE_TAG_USER_ID N/A modified_on N/A N/A case_block get N/A _to_attr N/A const CASE_TAG_MODIFIED N/A N/A cls id N/A case_block N/A case_id_attr version V2 block case_block user_id user_id modified_on_str modified_on N/A classmethod N/A N/A VERSION_FUNCTION_MAP N/A V1 V2 N/A CaseUpdate from_v1 N/A CaseUpdate from_v2 N/A NOOP_ACTION_FUNCTION_MAP N/A V1 V2 N/A CaseNoopAction from_v1 N/A CaseNoopAction from_v2 N/A CREATE_ACTION_FUNCTION_MAP N/A V1 V2 N/A CaseCreateAction from_v1 N/A CaseCreateAction from_v2 N/A UPDATE_ACTION_FUNCTION_MAP N/A V1 V2 N/A CaseUpdateAction from_v1 N/A CaseUpdateAction from_v2 N/A CLOSE_ACTION_FUNCTION_MAP N/A V1 V2 N/A CaseCloseAction from_v1 N/A CaseCloseAction from_v2 N/A INDEX_ACTION_FUNCTION_MAP N/A V1 V2 N/A CaseIndexAction from_v1 N/A CaseIndexAction from_v2 N/A ATTACHMENT_ACTION_FUNCTION_MAP N/A V1 V2 N/A CaseAttachmentAction from_v1 N/A CaseAttachmentAction from_v2