Module Import alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Index Num handlers ExceptHandler type NameLoad body Return NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Return ListLoad NameLoad Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Return Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body If BoolOpAnd UnaryOpNot SubscriptLoad NameLoad Index Num UnaryOpNot SubscriptLoad NameLoad Index Num body Return NameLoad Assign NameStore ListLoad Assign NameStore ListLoad If SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list decorator_list
N/A N/A difflib django.core.cache cache django.db models connection KnessetManager N/A N/A models Manager N/A N/A This is a manager for Knesset class __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super KnessetManager self __init__ N/A N/A self _current_knesset None N/A current_knesset N/A N/A self N/A N/A N/A N/A N/A self _current_knesset None N/A N/A N/A N/A N/A self _current_knesset N/A N/A N/A N/A N/A self get_query_set order_by -number N/A 0 N/A N/A N/A IndexError N/A N/A None N/A N/A self _current_knesset N/A N/A BetterManager N/A N/A models Manager N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super BetterManager self __init__ N/A N/A self _names N/A N/A find N/A N/A self name N/A N/A N/A  looks for a member with a name that resembles 'name'
            the returned array is ordered by similiarity
         N/A names N/A N/A cache get N/A %s_names N/A N/A self model __name__ N/A N/A names N/A N/A names N/A N/A self values_list name flat True N/A N/A N/A cache set N/A %s_names N/A N/A self model __name__ names N/A possible_names N/A N/A difflib get_close_matches name names cutoff 0.5 n 5 N/A qs N/A N/A self filter name__in possible_names N/A ret N/A range N/A N/A qs count N/A m qs N/A N/A N/A N/A m name name N/A N/A N/A m N/A N/A ret N/A N/A N/A possible_names index N/A m name m N/A ret N/A N/A PartyManager N/A BetterManager N/A parties_during_range N/A N/A self ranges N/A None N/A N/A filters_folded N/A N/A Agenda generateSummaryFilters ranges start_date end_date N/A N/A N/A self filter filters_folded N/A N/A CurrentKnessetPartyManager N/A N/A models Manager N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super CurrentKnessetPartyManager self __init__ N/A N/A self _current None N/A get_query_set N/A N/A self N/A N/A mks.models Knesset N/A qs N/A N/A N/A super CurrentKnessetPartyManager self get_query_set N/A qs N/A N/A qs filter knesset N/A N/A N/A Knesset objects current_knesset N/A qs N/A current_parties N/A N/A self N/A N/A N/A N/A N/A self _current None N/A N/A N/A self _current N/A list N/A N/A self get_query_set N/A N/A self _current N/A property N/A CurrentKnessetMembersManager N/A N/A models Manager N/A N/A Adds the ability to filter on current knesset get_query_set N/A N/A self N/A N/A mks.models Knesset N/A qs N/A N/A N/A super CurrentKnessetMembersManager self get_query_set N/A qs N/A N/A qs filter current_party__knesset N/A N/A N/A Knesset objects current_knesset N/A qs N/A N/A MembershipManager N/A N/A models Manager N/A membership_in_range N/A N/A self ranges N/A None N/A N/A N/A ranges N/A N/A N/A filter_list N/A N/A query_parameters N/A N/A r ranges N/A N/A N/A N/A N/A r N/A 0 N/A N/A r N/A 1 N/A N/A None N/A query_fields N/A N/A query_parameters N/A N/A N/A r N/A 0 N/A N/A N/A N/A query_fields append coalesce(end_date, '2037-01-01') < %s N/A N/A N/A query_parameters append N/A r N/A 0 N/A N/A r N/A 1 N/A N/A N/A N/A query_fields append coalesce(start_date, '1947-01-01') >= %s N/A N/A N/A query_parameters append N/A r N/A 1 N/A N/A N/A filter_list append N/A N/A  OR  join query_fields N/A filters_folded N/A N/A  AND  join filter_list N/A query N/A SELECT member_id FROM mks_membership WHERE NOT (%s) filters_folded N/A cursor N/A N/A connection cursor N/A N/A N/A cursor execute query query_parameters N/A results N/A N/A cursor fetchall N/A N/A N/A c N/A 0 N/A c results N/A N/A