Module ImportFrom alias ImportFrom alias alias Import alias Import alias identifier FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Dict Str Str Dict Dict Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body If CompareIn SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str orelse If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad ListLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn NameLoad ListLoad Str Str body Assign NameStore DictComp NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore ListLoad Str Str orelse If CompareIn NameLoad ListLoad Str Str body Assign NameStore Dict Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str orelse If CompareEq NameLoad Str body If CompareNotEq Call NameLoad SubscriptLoad NameLoad Index Str Num body Return NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num If CompareNotIn Str NameLoad body Return NameLoad Assign NameStore Dict Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index NameLoad decorator_list
N/A synapse.push.baserules list_with_base_rules synapse.push.rulekinds PRIORITY_CLASS_MAP PRIORITY_CLASS_INVERSE_MAP N/A copy N/A simplejson json format_push_rules_for_user N/A N/A user rawrules enabled_map N/A N/A N/A Converts a list of rawrules and a enabled map into nested dictionaries
    to match the Matrix client-server format for push rules N/A ruleslist N/A N/A rawrule rawrules N/A N/A rule N/A dict rawrule N/A N/A rule N/A conditions N/A N/A json loads N/A rawrule N/A conditions N/A N/A rule N/A actions N/A N/A json loads N/A rawrule N/A actions N/A N/A N/A ruleslist append rule N/A ruleslist N/A N/A copy deepcopy N/A list_with_base_rules ruleslist N/A rules N/A global device N/A N/A N/A N/A rules N/A global N/A _add_empty_priority_class_arrays N/A rules N/A global N/A r ruleslist N/A N/A rulearray None N/A template_name N/A _priority_class_to_template_name N/A r N/A priority_class N/A c N/A r N/A conditions N/A N/A N/A N/A c pop _id None N/A pattern_type N/A N/A c pop pattern_type None N/A N/A pattern_type user_id N/A N/A N/A c N/A pattern N/A N/A user to_string N/A N/A N/A pattern_type user_localpart N/A N/A N/A c N/A pattern N/A user localpart N/A rulearray N/A N/A rules N/A global N/A template_name N/A template_rule N/A _rule_to_template r N/A template_rule N/A N/A N/A N/A r N/A rule_id enabled_map N/A N/A N/A template_rule N/A enabled N/A enabled_map N/A N/A r N/A rule_id N/A N/A N/A enabled r N/A N/A N/A template_rule N/A enabled N/A r N/A enabled N/A N/A N/A template_rule N/A enabled True N/A N/A N/A rulearray append template_rule N/A rules N/A _add_empty_priority_class_arrays N/A N/A d N/A N/A N/A pc N/A N/A PRIORITY_CLASS_MAP keys N/A N/A N/A d N/A pc N/A N/A d N/A _rule_to_template N/A N/A rule N/A N/A N/A unscoped_rule_id None N/A N/A rule_id rule N/A N/A unscoped_rule_id N/A _rule_id_from_namespaced N/A rule N/A rule_id N/A template_name N/A _priority_class_to_template_name N/A rule N/A priority_class N/A N/A template_name N/A override underride N/A N/A templaterule N/A k N/A rule N/A k N/A k N/A conditions actions N/A N/A N/A template_name N/A sender room N/A N/A templaterule N/A actions N/A rule N/A actions N/A unscoped_rule_id N/A N/A N/A rule N/A conditions N/A 0 N/A pattern N/A N/A N/A template_name content N/A N/A N/A N/A len N/A rule N/A conditions 1 N/A N/A None N/A thecond N/A N/A rule N/A conditions N/A 0 N/A N/A pattern thecond N/A N/A None N/A templaterule N/A actions N/A rule N/A actions N/A N/A templaterule N/A pattern N/A thecond N/A pattern N/A unscoped_rule_id N/A N/A N/A templaterule N/A rule_id unscoped_rule_id N/A N/A default rule N/A N/A N/A templaterule N/A default N/A rule N/A default N/A templaterule N/A _rule_id_from_namespaced N/A N/A in_rule_id N/A N/A N/A N/A N/A N/A in_rule_id split / N/A -1 N/A _priority_class_to_template_name N/A N/A pc N/A N/A N/A N/A PRIORITY_CLASS_INVERSE_MAP N/A pc N/A