Module Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias Import alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assert CompareIn Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num keyword Str keyword Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Str keyword Str Assert BoolOpAnd CompareIn Str Call NameLoad NameLoad CompareIn Str Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num keyword Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assert CompareIn AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Call AttributeLoad NameLoad attr Num Num Num Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str Assert CompareIn AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Str Str Str Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Str Str Str Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Str Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assert CompareEq Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Assert CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str decorator_list
N/A N/A pytest pupa.scrape Person Organization Membership Post pupa.utils get_pseudo_id validictory ValidationError N/A datetime test_basic_post N/A N/A N/A N/A N/A post N/A Post label 1 role Representative organization_id fake_org N/A N/A 1 N/A str post N/A N/A N/A post validate N/A test_basic_invalid_post N/A N/A N/A N/A N/A post N/A Post label 1 role Representative organization_id fake_org N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A post validate N/A test_basic_membership N/A N/A N/A N/A N/A m N/A Membership person_id person organization_id org N/A N/A N/A person N/A str m N/A org N/A str m N/A test_basic_invalid_membership N/A N/A N/A N/A N/A membership N/A Membership person_id 33 organization_id orga_id N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A membership validate N/A test_basic_invalid_person N/A N/A N/A N/A N/A bob N/A Person Bob B. Johnson N/A N/A N/A bob add_source url foo N/A N/A N/A bob validate N/A N/A bob name None N/A N/A N/A pytest raises ValidationError N/A N/A N/A N/A bob validate N/A test_basic_person N/A N/A N/A N/A N/A p N/A Person Bob B. Bear N/A N/A N/A p add_source http://example.com N/A N/A N/A p name N/A str p N/A N/A N/A p validate N/A test_person_add_membership_org N/A N/A N/A N/A N/A p N/A Person Bob B. Bear N/A N/A N/A p add_source http://example.com N/A o N/A Organization test org classification unknown N/A N/A N/A p add_membership o role member start_date 2007 end_date N/A N/A datetime date 2015 5 8 N/A N/A N/A len N/A p _related 1 N/A N/A N/A N/A N/A p _related N/A 0 validate N/A N/A N/A N/A N/A p _related N/A 0 person_id N/A p _id N/A N/A N/A N/A N/A p _related N/A 0 organization_id N/A o _id N/A N/A N/A N/A N/A p _related N/A 0 start_date 2007 N/A N/A N/A N/A N/A p _related N/A 0 end_date N/A N/A datetime date 2015 5 8 N/A test_basic_organization N/A N/A N/A N/A N/A org N/A Organization some org classification committee N/A N/A N/A org add_source http://example.com N/A N/A N/A org name N/A str org N/A N/A N/A org validate N/A test_no_source_on_party_org N/A N/A N/A N/A N/A org N/A Organization Hat classification party N/A N/A N/A org validate N/A test_basic_invalid_organization N/A N/A N/A N/A N/A orga N/A Organization name N/A N/A N/A pytest raises ValidationError N/A N/A N/A N/A orga validate N/A test_org_add_post N/A N/A N/A N/A N/A  Test that we can hack posts in on the fly' N/A orga N/A Organization name classification committee N/A N/A N/A orga add_source url foo N/A N/A N/A orga validate N/A N/A N/A orga add_post Human Readable Name Chef N/A N/A N/A N/A N/A orga _related N/A 0 role Chef N/A N/A N/A N/A N/A orga _related N/A 0 label Human Readable Name N/A test_legislator_related_district N/A N/A N/A N/A N/A l N/A Person John Adams district 1 primary_org legislature N/A N/A N/A l pre_save jurisdiction-id N/A N/A N/A len N/A l _related 1 N/A N/A N/A N/A N/A l _related N/A 0 person_id N/A l _id N/A N/A N/A get_pseudo_id N/A N/A N/A l _related N/A 0 organization_id N/A classification legislature N/A N/A N/A get_pseudo_id N/A N/A N/A l _related N/A 0 post_id N/A organization__classification label role legislature 1 member N/A N/A N/A N/A N/A l _related N/A 0 role member N/A test_legislator_related_chamber_district N/A N/A N/A N/A N/A l N/A Person John Adams district 1 primary_org upper N/A N/A N/A l pre_save jurisdiction-id N/A N/A N/A len N/A l _related 1 N/A N/A N/A N/A N/A l _related N/A 0 person_id N/A l _id N/A N/A N/A get_pseudo_id N/A N/A N/A l _related N/A 0 organization_id N/A classification upper N/A N/A N/A get_pseudo_id N/A N/A N/A l _related N/A 0 post_id N/A organization__classification label role upper 1 member N/A N/A N/A N/A N/A l _related N/A 0 role member N/A test_legislator_related_party N/A N/A N/A N/A N/A l N/A Person John Adams party Democratic-Republican N/A N/A N/A l pre_save jurisdiction-id N/A N/A N/A len N/A l _related 1 N/A N/A N/A N/A N/A l _related N/A 0 person_id N/A l _id N/A N/A N/A get_pseudo_id N/A N/A N/A l _related N/A 0 organization_id N/A classification name party Democratic-Republican N/A N/A N/A N/A N/A l _related N/A 0 role member N/A test_committee_add_member_person N/A N/A N/A N/A N/A c N/A Organization Defense classification committee N/A p N/A Person John Adams N/A N/A N/A c add_member p role chairman N/A N/A N/A N/A N/A c _related N/A 0 person_id N/A p _id N/A N/A N/A N/A N/A c _related N/A 0 organization_id N/A c _id N/A N/A N/A N/A N/A c _related N/A 0 role chairman N/A test_committee_add_member_name N/A N/A N/A N/A N/A c N/A Organization Defense classification committee N/A N/A N/A c add_member John Adams N/A N/A N/A get_pseudo_id N/A N/A N/A c _related N/A 0 person_id N/A name John Adams N/A N/A N/A N/A N/A c _related N/A 0 organization_id N/A c _id N/A N/A N/A N/A N/A c _related N/A 0 role member N/A test_person_add_membership_name N/A N/A N/A N/A N/A p N/A Person Leonardo DiCaprio N/A N/A N/A p add_membership Academy of Motion Picture Arts and Sciences role winner start_date 2016 N/A N/A N/A N/A N/A p _related N/A 0 validate N/A N/A N/A get_pseudo_id N/A N/A N/A p _related N/A 0 organization_id N/A name Academy of Motion Picture Arts and Sciences N/A N/A N/A N/A N/A p _related N/A 0 person_id N/A p _id N/A N/A N/A N/A N/A p _related N/A 0 role winner N/A N/A N/A N/A N/A p _related N/A 0 start_date 2016 N/A