Module ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str Str TupleLoad NameLoad Str Dict TupleLoad NameLoad Str Dict TupleLoad NameLoad Str Dict TupleLoad NameLoad Str Dict TupleLoad NameLoad Str Dict FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareNotEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Dict Assign NameStore Call NameLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str NameLoad Str If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp TupleLoad NameLoad Call NameLoad NameLoad comprehension NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore NameLoad body Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore NameLoad Break If NameLoad body If CompareIn NameLoad NameLoad body Raise Call NameLoad BinOpAdd Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Call NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad Str Return NameLoad decorator_list decorator_list
N/A opencivicdata.models Organization OrganizationIdentifier OrganizationName OrganizationContactDetail OrganizationLink OrganizationSource base BaseImporter utils get_pseudo_id utils.topsort Network exceptions UnresolvedIdError PupaInternalError OrganizationImporter N/A BaseImporter N/A N/A _type organization N/A model_class Organization N/A related_models N/A identifiers other_names contact_details links sources N/A OrganizationIdentifier organization_id N/A N/A OrganizationName organization_id N/A N/A OrganizationContactDetail organization_id N/A N/A OrganizationLink organization_id N/A N/A OrganizationSource organization_id N/A get_object N/A N/A self org N/A N/A N/A spec N/A classification name parent_id N/A org N/A classification N/A org N/A name N/A org N/A parent_id N/A jid N/A N/A org get jurisdiction_id N/A jid N/A N/A N/A spec N/A jurisdiction_id jid N/A N/A N/A N/A N/A self model_class objects get spec N/A prepare_for_db N/A N/A self data N/A N/A N/A N/A data N/A parent_id N/A N/A self resolve_json_id N/A data N/A parent_id N/A N/A N/A data N/A classification party N/A N/A N/A data N/A jurisdiction_id N/A self jurisdiction_id N/A data N/A limit_spec N/A N/A self spec N/A N/A N/A N/A N/A N/A spec get classification party N/A N/A N/A spec N/A jurisdiction_id N/A self jurisdiction_id N/A spec N/A _prepare_imports N/A N/A self dicts N/A N/A N/A  an override for prepare imports that sorts the imports by parent_id dependencies  N/A pseudo_ids N/A set N/A pseudo_matches N/A N/A prepared N/A dict N/A N/A N/A super OrganizationImporter self _prepare_imports dicts N/A N/A _ data N/A N/A prepared items N/A N/A parent_id N/A N/A N/A data get parent_id None N/A N/A N/A parent_id startswith ~ N/A N/A N/A N/A pseudo_ids add parent_id N/A pseudo_ids N/A N/A ppid N/A get_pseudo_id ppid N/A ppid pseudo_ids N/A N/A json_id data N/A N/A prepared items N/A N/A N/A ppid spec pseudo_ids N/A N/A match True N/A N/A k v N/A N/A spec items N/A N/A N/A N/A data N/A k v N/A N/A match False N/A N/A match N/A N/A N/A ppid pseudo_matches N/A N/A N/A UnresolvedIdError N/A multiple matches for pseudo id:  ppid N/A N/A pseudo_matches N/A ppid json_id N/A network N/A Network N/A in_network N/A set N/A import_order N/A N/A N/A json_id data N/A N/A prepared items N/A N/A parent_id N/A N/A data get parent_id None N/A N/A parent_id pseudo_matches N/A N/A parent_id N/A pseudo_matches N/A parent_id N/A N/A N/A network add_node json_id N/A parent_id N/A N/A N/A N/A network add_edge parent_id json_id N/A jid N/A N/A network sort N/A N/A N/A N/A import_order append N/A jid N/A prepared N/A jid N/A N/A N/A in_network add jid N/A N/A in_network N/A set N/A N/A prepared keys N/A N/A N/A PupaInternalError import is missing nodes in network set N/A import_order N/A N/A