Module Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad NameLoad NameStore body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return TupleLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareNotEq NameLoad TupleLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareEq NameLoad ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Return DictComp SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad decorator_list NameLoad Call NameLoad ListLoad Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad Str attr NameLoad Dict Return Call AttributeLoad NameLoad attr Str ListLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Str Assign NameStore DictComp SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore BinOpSub Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad Return ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr Num Str Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice Num ListLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return IfExp CompareNotEq NameLoad TupleLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str If CompareIn NameLoad ListLoad Str Str Str Str body Return Str Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str If CompareEq Call AttributeLoad NameLoad attr NameLoad Str body Return Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str If CompareEq NameLoad TupleLoad body Return Str If CompareNotEq Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore ListComp Dict Str NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body For NameStore ListLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break Return Call AttributeLoad Str attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num If CompareEq Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore IfExp NameLoad NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore IfExp NameLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str ListLoad body If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str If CompareEq NameLoad TupleLoad body Assign NameStore ListLoad If CompareNotEq Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore ListComp Dict Str NameLoad comprehension NameStore NameLoad orelse Assign NameStore ListLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd CompareEq NameLoad Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd Call AttributeLoad NameLoad attr Str ListLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr keyword Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If BoolOpAnd CompareEq NameLoad Str NameLoad body Assign NameStore Str If CompareEq NameLoad Str body Assign NameStore Str If CompareEq NameLoad Str body Assign NameStore Str If CompareEq NameLoad Str body Assign NameStore Str If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad If BoolOpOr CompareEq NameLoad NameLoad BoolOpAnd Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr keyword BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str NameLoad Str Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A os jsonobject JsonObject N/A yaml corehq.apps.userreports.specs TypeProperty corehq.apps.app_manager.models Application corehq.util.quickcache quickcache dimagi.utils.decorators.memoized memoized AbtSupervisorExpressionSpec N/A JsonObject N/A N/A type N/A TypeProperty abt_supervisor _flag_specs N/A N/A self N/A N/A N/A 
        Return a dict where keys are form xmlns and values are lists of FlagSpecs
         N/A path N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ flagspecs.yaml N/A N/A open path f N/A N/A N/A N/A yaml load f N/A property memoized _get_val N/A N/A cls item path N/A N/A N/A 
        Return the answer in the given submitted form (item) to the question specified by path.
        Return empty tuple if no answer was given to the given question.
         N/A path N/A N/A N/A N/A v N/A item N/A form N/A key path N/A N/A v N/A v N/A key N/A v N/A N/A N/A KeyError N/A N/A N/A N/A classmethod _question_answered N/A N/A cls value N/A N/A N/A 
        Return true if the given value indicates that an answer was provided for its question.
         N/A N/A value N/A N/A classmethod _raise_for_any_answer N/A N/A cls danger_value N/A N/A N/A 
        Return true if the given danger_value indicates that any question answer should raise the flag.
         N/A N/A danger_value N/A N/A classmethod _get_questions N/A N/A cls app_id xmlns lang N/A N/A N/A form N/A N/A N/A N/A Application get app_id get_form_by_xmlns xmlns N/A N/A N/A q N/A value q N/A q N/A N/A form get_questions N/A lang include_groups True N/A classmethod N/A quickcache N/A app_id xmlns lang _get_question_options N/A N/A cls item question_path N/A N/A N/A 
        Return a list of option values for the given question path and item
        (which is a dict representation of an XFormInstance)
         N/A questions N/A N/A cls _get_questions N/A item N/A app_id N/A item N/A xmlns N/A N/A cls _get_language item N/A question N/A N/A questions get N/A /data/ N/A N/A / join question_path N/A N/A N/A N/A question get options N/A N/A classmethod _get_unchecked N/A N/A cls xform_instance question_path answer ignore N/A None N/A N/A 
        Return the unchecked options in the given question.
        Do not return any which appear in the option ignore parameter.

        answer should be a string
        ignore should be a list of strings.
         N/A answer N/A answer N/A options N/A N/A o N/A value N/A o N/A label N/A o N/A N/A cls _get_question_options xform_instance question_path N/A checked N/A set N/A N/A answer split N/A unchecked N/A N/A set N/A N/A options keys checked N/A relevant_unchecked N/A unchecked N/A set ignore N/A N/A N/A options N/A u N/A u relevant_unchecked N/A classmethod _get_comments N/A N/A cls item spec N/A N/A N/A 
        Return the comments for the question specified in the spec.
        If the spec does not contain a `comment` field, then the `question`
        field is used to build the path to the comment question.
         N/A comments_question N/A N/A spec get comment False N/A question_path N/A spec N/A question N/A N/A comments_question N/A N/A parts N/A N/A N/A question_path N/A -1 split _ N/A N/A N/A parts insert 1 comments N/A comments_question N/A N/A question_path N/A -1 N/A N/A N/A _ join parts N/A comments N/A N/A cls _get_val item comments_question N/A N/A N/A comments N/A comments N/A classmethod _get_language N/A N/A cls item N/A N/A N/A 
        Return the language in which this row should be rendered.
         N/A country N/A N/A cls _get_val item N/A location_data country N/A N/A country N/A Senegal Benin Mali Madagascar N/A N/A fra N/A en N/A classmethod _get_warning N/A N/A cls spec item N/A N/A N/A default N/A unicode N/A N/A spec get warning N/A N/A N/A N/A cls _get_language item fra N/A N/A N/A unicode N/A N/A spec get warning_fr default N/A default N/A classmethod _get_inspector_names N/A N/A cls item N/A N/A N/A repeat_items N/A N/A cls _get_val item N/A employee_group employee N/A N/A repeat_items N/A N/A N/A N/A N/A N/A type repeat_items list N/A N/A repeat_items N/A repeat_items N/A repeat_items N/A N/A form x N/A x repeat_items N/A names N/A N/A i repeat_items N/A N/A q N/A other_abt_employee_name abt_employee_name other_non-abt_employee_name N/A N/A name N/A N/A cls _get_val i N/A abt_emp_list q N/A name N/A N/A N/A N/A names append name N/A N/A N/A N/A ,  join names N/A classmethod _get_flag_name N/A N/A cls item spec N/A N/A N/A 
        Return value that should be in the flag column. Defaults to the
        question id if spec doesn't specify something else.
         N/A ret N/A N/A spec N/A question N/A -1 N/A N/A N/A N/A cls _get_language item fra N/A N/A name N/A N/A spec get flag_name_fr None N/A ret N/A name name ret N/A N/A N/A N/A N/A cls _get_language item en N/A N/A name N/A N/A spec get flag_name None N/A ret N/A name name ret N/A ret N/A classmethod __call__ N/A N/A self item context N/A None N/A N/A 
        Given a document (item), return a list of documents representing each
        of the flagged questions.
         N/A names N/A N/A self _get_inspector_names item N/A docs N/A N/A spec N/A N/A N/A self _flag_specs get N/A item N/A xmlns N/A N/A N/A N/A N/A spec get base_path False N/A N/A repeat_items N/A N/A self _get_val item N/A spec N/A base_path N/A N/A repeat_items N/A N/A N/A repeat_items N/A N/A N/A N/A type repeat_items list N/A N/A repeat_items N/A repeat_items N/A repeat_items N/A N/A form x N/A x repeat_items N/A N/A repeat_items N/A item N/A partial repeat_items N/A N/A form_value N/A N/A self _get_val partial N/A spec N/A question N/A warning_type N/A N/A spec get warning_type None N/A N/A N/A warning_type unchecked form_value N/A N/A ignore N/A N/A spec get ignore N/A N/A unchecked N/A N/A self _get_unchecked item N/A N/A N/A spec get base_path N/A N/A spec N/A question form_value ignore N/A unchecked N/A N/A N/A N/A docs append N/A flag warning comments names N/A N/A self _get_flag_name item spec N/A N/A N/A N/A self _get_warning spec item format msg N/A N/A ,  join unchecked N/A N/A self _get_comments partial spec names N/A N/A N/A N/A warning_type q3_special form_value N/A N/A missing_items N/A N/A form_value only_license N/A N/A missing_items cell N/A N/A form_value only_cell N/A N/A missing_items license N/A N/A form_value none N/A N/A missing_items cell, license N/A missing_items N/A N/A N/A N/A docs append N/A flag warning comments names N/A N/A self _get_flag_name item spec N/A N/A N/A N/A self _get_warning spec item format msg missing_items N/A N/A self _get_comments partial spec names N/A N/A danger_value N/A N/A spec get answer N/A N/A N/A N/A form_value danger_value N/A N/A N/A self _question_answered form_value N/A N/A self _raise_for_any_answer danger_value N/A N/A N/A N/A docs append N/A flag warning comments names N/A N/A self _get_flag_name item spec N/A N/A N/A N/A self _get_warning spec item format msg N/A N/A N/A self _get_val partial N/A N/A spec get warning_question None N/A N/A self _get_comments partial spec names N/A docs N/A N/A abt_supervisor_expression N/A N/A spec context N/A N/A N/A wrapped N/A N/A AbtSupervisorExpressionSpec wrap spec N/A wrapped N/A