Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Str Str Str Assign NameStore BinOpAdd NameLoad ListLoad Str Str Str Str Str Str Assign NameStore BinOpAdd NameLoad ListLoad Str Str Str Str Assign NameStore BinOpAdd NameLoad ListLoad Str Str Str Str Str Assign NameStore Str ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad ListLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return DictComp NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str Str If CompareIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str BoolOpOr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareEq NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Raise decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse Return NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse Return NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str TryExcept body TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Print NameLoad Print Str Raise Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Print BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad keyword Dict Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad SubscriptLoad NameLoad Index Str attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Print BinOpMod Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Print BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Dict body Expr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Print NameLoad Raise Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr Num body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Return NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Str body Return BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Return BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Slice Num Return BinOpMod Str TupleLoad NameLoad NameLoad orelse Return NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad
N/A datetime datetime N/A logging N/A re nameparser HumanName openelex.base.transform Transform registry openelex.models Candidate Contest Office Party RawResult Result openelex.lib.text ocd_type_id openelex.lib.insertbuffer BulkInsertBuffer N/A N/A N/A logging basicConfig level N/A logging INFO N/A logger N/A N/A logging getLogger __name__ N/A meta_fields N/A source election_id state N/A contest_fields N/A meta_fields N/A start_date end_date election_type primary_type result_type special N/A candidate_fields N/A meta_fields N/A full_name given_name family_name additional_name N/A result_fields N/A meta_fields N/A reporting_level jurisdiction votes total_votes vote_breakdowns N/A STATE WA BaseTransform N/A Transform N/A N/A 
    Base class that encapsulates shared functionality for other Washinton
    transforms.
     N/A PARTY_MAP N/A Nonpartisan (States No Party Preference) (Prefers Non Partisan Party) (Prefers Neither Party) (Prefers Non-partisan Party) Independent Candidates (Prefers Independent Party) (Prefers ReganIndependent Party) (Prefers Independent - No Party) (Prefers Independent Dem. Party) (Prefers Centrist Party) (Prefers Independent No Party) (Prefers Independent Dem Party) (Prefers Independent-Gop Party) (Prefers Prog Independent Party) (Prefers Indep Republican Party) Republican Republican Party Nominees (Prefers Republican Party) (Prefers G.O.P. Party) (Prefers (G.O.P.) Party) (Prefers G O P Party) (Prefers R Party) (Prefers Cut Taxes G.O.P. Party) (Prefers Grand Old Party) (Prefers (R) Problemfixer Party) (Prefers GOP Party) (Prefers Conservative Party) (Prefers GOP  Party) (Prefers Gop Party) (Prefers (R) Hope&change Party) (Prefers    Republican Party) Democrat Democratic Party Nominees (Prefers Democratic Party) (Prefers Progressive Dem. Party) (Prefers Progressive Party) (Prefers  True Democratic Party) (Prefers Progressive Dem Party) (Prefers Demo Party) (Prefers Prolife Democrat Party) (Prefers F.D.R. Democrat Party) (Prefers Democracy Indep. Party) (Prefers Democratic-Repub Party) (Prefers Tea Party) (Prefers Libertarian Party) Libertarian Party Nominees (Prefers Green Party) Green Party Nominees (Prefers Constitution Party) Constitution Party Nominees (Prefers Party Of Commons Party) Socialism & Libertarian Party Nominees Socialist Workers Party Nominees (Prefers Socialist Altern Party) (Prefers Reform Party (Prefers America's Third Party) (Prefers Salmon Yoga Party) (Prefers Lower Taxes Party) (Prefers Bull Moose Party) (Prefers Happiness Party) (Prefers  SeniorSide Party) Justice Party Nominees (Prefers The 99%% Party) (Prefers Employmentwealth Party) (Prefers The Human Rights Party) (Prefers Neopopulist Party) UN UN UN UN UN I I I I I I I I I I I R R R R R R R R R R R R R R R R D D D D D D D D D D D D TEA LIB LIB GRE GRE CON CON COM SOC SOC SOC REF UK UK UK UK UK UK UK UK UK UK UK N/A district_offices N/A set N/A U.S. Senate U.S. House of Representatives State Senate State House of Representatives __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super BaseTransform self __init__ N/A N/A self _office_cache N/A N/A N/A self _party_cache N/A N/A N/A self _contest_cache N/A N/A get_raw_results N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A RawResult objects filter state STATE no_cache N/A get_contest_fields N/A N/A self raw_result N/A N/A N/A fields N/A N/A self _get_fields raw_result contest_fields N/A N/A fields N/A office N/A N/A self _get_office raw_result N/A fields N/A _get_fields N/A N/A self raw_result field_names N/A N/A N/A N/A k N/A getattr raw_result k N/A k field_names N/A _get_office N/A N/A self raw_result N/A N/A N/A office_query N/A state name STATE N/A N/A self _clean_office N/A raw_result office N/A N/A N/A office_query N/A name President N/A N/A N/A office_query N/A state US N/A N/A N/A office_query N/A name N/A self district_offices N/A N/A N/A office_query N/A district N/A N/A raw_result district N/A key N/A N/A Office make_key office_query N/A N/A N/A N/A N/A self _office_cache N/A key N/A N/A N/A KeyError N/A N/A N/A N/A office N/A N/A N/A Office objects get office_query N/A N/A key N/A office key N/A N/A N/A self _office_cache N/A key office N/A office N/A N/A N/A N/A Office DoesNotExist N/A N/A N/A N/A logger error N/A N/A 	No office matching query {} format office_query N/A N/A get_party N/A N/A self raw_result attr N/A party N/A N/A party N/A getattr raw_result attr N/A N/A party N/A N/A None N/A clean_abbrev N/A N/A self _clean_party party N/A N/A clean_abbrev N/A N/A None N/A N/A N/A N/A N/A self _party_cache N/A clean_abbrev N/A N/A N/A KeyError N/A N/A N/A N/A party N/A N/A N/A Party objects get abbrev clean_abbrev N/A N/A N/A self _party_cache N/A clean_abbrev party N/A party N/A N/A N/A N/A Party DoesNotExist N/A N/A N/A N/A logger error N/A N/A No party with abbreviation {} format clean_abbrev N/A N/A _clean_party N/A N/A self party N/A N/A N/A N/A N/A N/A N/A self PARTY_MAP N/A party N/A N/A N/A KeyError N/A N/A None N/A _clean_office N/A N/A self office N/A N/A N/A 
        See: https://github.com/openelections/core/blob/dev/openelex/us/wa/load.py#L370

         N/A presidential_regex N/A N/A re compile president N/A re IGNORECASE N/A senate_regex N/A N/A re compile (senate|senator) N/A re IGNORECASE N/A house_regex N/A N/A re compile (house|representative) N/A re IGNORECASE N/A governor_regex N/A N/A re compile governor N/A re IGNORECASE N/A treasurer_regex N/A N/A re compile treasurer N/A re IGNORECASE N/A auditor_regex N/A N/A re compile auditor N/A re IGNORECASE N/A sos_regex N/A N/A re compile secretary N/A re IGNORECASE N/A lt_gov_regex N/A N/A re compile (lt|Lt|Lieutenant) N/A re IGNORECASE N/A ospi_regex N/A N/A re compile superintendent of public instruction N/A re IGNORECASE N/A ag_regex N/A N/A re compile attorney general N/A re IGNORECASE N/A wcpl_regex N/A N/A re compile commissioner of public lands N/A re IGNORECASE N/A local_regex N/A N/A re compile (\bState\b|Washington|Washington\s+State|Local|Legislative District) N/A re IGNORECASE N/A national_regex N/A N/A re compile (U\.S\.|\bUS\b|Congressional|National|United\s+States|U\.\s+S\.\s+) N/A re IGNORECASE N/A N/A N/A re search house_regex office N/A N/A N/A N/A re search national_regex office N/A N/A U.S. House of Representatives N/A N/A N/A N/A re search local_regex office N/A N/A State House of Representatives N/A N/A None N/A N/A N/A N/A re search governor_regex office N/A N/A Governor N/A N/A N/A N/A re search wcpl_regex office N/A N/A Commissioner of Public Lands N/A N/A N/A N/A re search senate_regex office N/A N/A N/A N/A re search national_regex office N/A N/A U.S. Senate N/A N/A N/A N/A re search local_regex office N/A N/A State Senate N/A N/A None N/A N/A N/A N/A re search lt_gov_regex office N/A N/A Lieutenant Governor N/A N/A N/A N/A re search ospi_regex office N/A N/A Superintendent of Public Instruction N/A N/A N/A N/A re search sos_regex office N/A N/A Secretary of State N/A N/A N/A N/A re search treasurer_regex office N/A N/A Treasurer N/A N/A N/A N/A re search auditor_regex office N/A N/A Auditor N/A N/A N/A N/A re search ag_regex office N/A N/A Attorney General N/A N/A N/A N/A re search presidential_regex office N/A N/A President N/A N/A None N/A get_candidate_fields N/A N/A self raw_result N/A N/A N/A year N/A N/A raw_result end_date year N/A fields N/A N/A self _get_fields raw_result candidate_fields N/A N/A N/A name N/A HumanName N/A raw_result full_name N/A N/A N/A TypeError N/A N/A name N/A HumanName N/A N/A {} {} format N/A raw_result given_name N/A raw_result family_name N/A N/A fields N/A given_name N/A name first N/A N/A fields N/A family_name N/A name last N/A N/A N/A fields N/A full_name N/A N/A N/A fields N/A full_name N/A N/A {} {} format N/A name first N/A name last N/A N/A N/A N/A fields N/A additional_name N/A name middle N/A N/A fields N/A suffix N/A name suffix N/A N/A N/A Exception N/A e N/A N/A N/A N/A logger error e N/A fields N/A get_contest N/A N/A self raw_result N/A N/A N/A 
        Returns the Contest model instance for a given RawResult.

        Caches the result in memory to reduce the number of calls to the
        datastore.
         N/A key N/A %s-%s N/A N/A raw_result election_id N/A raw_result contest_slug N/A N/A N/A N/A N/A self _contest_cache N/A key N/A N/A N/A KeyError N/A N/A fields N/A N/A self get_contest_fields raw_result N/A N/A N/A fields pop source N/A N/A N/A N/A N/A contest N/A N/A N/A N/A Contest objects filter fields N/A 0 N/A N/A N/A IndexError N/A N/A contest N/A N/A N/A Contest objects get fields N/A N/A N/A Exception N/A N/A fields N/A N/A N/A N/A N/A self _contest_cache N/A key contest N/A contest N/A N/A CreateContestsTransform N/A BaseTransform N/A N/A name create_unique_contests __call__ N/A N/A self N/A N/A N/A contests N/A N/A seen N/A set N/A result N/A N/A self get_raw_results N/A N/A key N/A N/A self _contest_key result N/A N/A key seen N/A N/A fields N/A N/A self get_contest_fields result N/A N/A fields N/A updated N/A fields N/A created N/A N/A datetime now N/A contest N/A Contest fields N/A N/A N/A contests append contest N/A N/A N/A seen add key N/A seen N/A N/A N/A N/A Contest objects insert contests load_bulk False N/A N/A N/A logger info N/A N/A Created {} contests. format N/A len contests N/A reverse N/A N/A self N/A N/A N/A old N/A N/A N/A Contest objects filter state STATE N/A N/A N/A logger info N/A N/A 	Deleting {} previously created contests format N/A N/A old count N/A N/A N/A old delete N/A _contest_key N/A N/A self raw_result N/A N/A N/A slug N/A raw_result contest_slug N/A N/A N/A raw_result election_id slug N/A N/A CreateCandidatesTransform N/A BaseTransform N/A N/A name create_unique_candidates __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super CreateCandidatesTransform self __init__ N/A __call__ N/A N/A self N/A N/A N/A candidates N/A N/A seen N/A set N/A rr N/A N/A self get_raw_results N/A N/A key N/A N/A rr election_id N/A rr contest_slug N/A rr candidate_slug N/A N/A key seen N/A N/A fields N/A N/A self get_candidate_fields rr N/A N/A N/A fields N/A full_name N/A N/A N/A quit fields N/A N/A fields N/A contest N/A N/A self get_contest rr N/A candidate N/A Candidate fields N/A N/A N/A candidates append candidate N/A N/A N/A seen add key N/A N/A N/A N/A Candidate objects insert candidates load_bulk False N/A N/A N/A logger info N/A N/A Created {} candidates. format N/A len candidates N/A reverse N/A N/A self N/A N/A N/A old N/A N/A N/A Candidate objects filter state STATE N/A N/A 	Deleting %d previously created candidates N/A N/A old count N/A N/A N/A old delete N/A N/A CreateResultsTransform N/A BaseTransform N/A N/A name create_unique_results N/A auto_reverse True __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super CreateResultsTransform self __init__ N/A N/A self _candidate_cache N/A N/A get_raw_results N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A RawResult objects filter state STATE no_cache N/A get_results N/A N/A self N/A N/A N/A election_ids N/A N/A N/A N/A self get_raw_results distinct election_id N/A N/A N/A N/A Result objects filter election_id__in election_ids N/A __call__ N/A N/A self N/A N/A N/A results N/A N/A self _create_results_collection N/A rr N/A N/A self get_raw_results N/A N/A fields N/A N/A self _get_fields rr result_fields N/A N/A fields N/A contest N/A N/A self get_contest rr N/A N/A fields N/A candidate N/A N/A self get_candidate rr extra N/A contest N/A fields N/A contest N/A N/A fields N/A contest N/A N/A fields N/A candidate contest N/A N/A fields N/A raw_result rr N/A party N/A N/A self get_party rr N/A party N/A N/A N/A fields N/A party N/A party abbrev N/A N/A fields N/A jurisdiction N/A N/A self _strip_leading_zeros N/A rr jurisdiction N/A fields N/A N/A self _alter_result_fields fields rr N/A result N/A Result fields N/A N/A N/A results append result N/A N/A N/A self _create_results results N/A _alter_result_fields N/A N/A self fields raw_result N/A N/A N/A 
        Hook to do set additional or alter additional field values
        that will be passed to the Result constructor.
         N/A N/A fields N/A write_in N/A N/A self _parse_write_in raw_result N/A N/A fields N/A ocd_id N/A N/A self _get_ocd_id raw_result jurisdiction N/A fields N/A jurisdiction N/A fields N/A _create_results_collection N/A N/A self N/A N/A N/A 
        Creates the list-like object that will be used to hold the
        constructed Result instances.
         N/A N/A BulkInsertBuffer Result N/A _create_results N/A N/A self results N/A N/A N/A 
        Create the Result objects in the database.
         N/A N/A N/A results flush N/A N/A Created %d results. N/A N/A results count N/A reverse N/A N/A self N/A N/A N/A old_results N/A N/A self get_results N/A N/A 	Deleting %d previously loaded results N/A N/A old_results count N/A N/A N/A old_results delete N/A get_candidate N/A N/A self raw_result extra N/A N/A N/A N/A 
        Get the Candidate model for a RawResult

        Keyword arguments:

        * extra - Dictionary of extra query parameters that will
                  be used to select the candidate. 
         N/A key N/A N/A raw_result election_id N/A raw_result contest_slug N/A raw_result candidate_slug N/A N/A N/A N/A N/A self _candidate_cache N/A key N/A N/A N/A KeyError N/A N/A fields N/A N/A self get_candidate_fields raw_result N/A N/A N/A fields update extra N/A N/A fields N/A source N/A N/A N/A candidate N/A N/A N/A Candidate objects get fields N/A N/A N/A N/A Candidate DoesNotExist N/A N/A fields N/A N/A N/A N/A self _candidate_cache N/A key candidate N/A candidate N/A _parse_winner N/A N/A self raw_result N/A N/A N/A 
        Converts raw winner value into boolean
         N/A N/A N/A raw_result winner Y N/A N/A True N/A N/A N/A N/A raw_result winner 1 N/A N/A True N/A N/A False N/A _parse_write_in N/A N/A self raw_result N/A N/A N/A 
        Converts raw write-in value into boolean
         N/A N/A N/A raw_result write_in Y N/A N/A True N/A N/A N/A N/A raw_result family_name zz998 N/A N/A True N/A N/A N/A N/A raw_result write_in Write-In N/A N/A True N/A N/A N/A N/A raw_result full_name Other Write-Ins N/A N/A True N/A N/A False N/A _get_ocd_id N/A N/A self raw_result jurisdiction reporting_level N/A None None N/A N/A 
        Returns the OCD ID for a RawResult's reporting level.

        Arguments:
            raw_result: the RawResult instance used to determine the OCD ID
            jurisdiction: the jurisdiction for which the OCD ID should be 
                created.
                Default is the raw result's jurisdiction field.
            reporting_level: the reporting level to reflect in the OCD ID.
                Default is raw_result.reporting_level. Specifying this
                argument is useful if you want to use a RawResult's
                jurisdiction, but override the reporting level.

         N/A N/A reporting_level None N/A N/A reporting_level N/A raw_result reporting_level N/A N/A jurisdiction None N/A N/A jurisdiction N/A raw_result jurisdiction N/A juris_ocd N/A ocd_type_id jurisdiction N/A N/A reporting_level county N/A N/A N/A ocd-division/country:us/state:md/county:%s juris_ocd N/A N/A N/A reporting_level state_legislative N/A N/A N/A ocd-division/country:us/state:md/sldl:%s juris_ocd N/A N/A N/A reporting_level precinct N/A N/A county_ocd_id N/A N/A / join N/A N/A N/A N/A raw_result ocd_id split / N/A -1 N/A N/A %s/precinct:%s N/A county_ocd_id juris_ocd N/A N/A None N/A N/A N/A N/A N/A registry register wa CreateContestsTransform N/A N/A N/A registry register wa CreateCandidatesTransform N/A N/A N/A registry register wa CreateResultsTransform