Module Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Print BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str For NameStore NameLoad body If CompareEq Call NameLoad NameLoad Num body Print NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Print BinOpMod Str NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Print BinOpMod Str AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call NameLoad NameLoad decorator_list decorator_list
N/A N/A yaml N/A os dateutil.parser parse dateparse django.conf settings django.core.management.base BaseCommand CommandError legislators.models * N/A PROJECT_ROOT N/A getattr settings PROJECT_ROOT N/A current_membership N/A N/A N/A os path join PROJECT_ROOT .. legislators data committee-membership-current.yaml process_file N/A N/A filename N/A N/A N/A N/A Processing file %s filename N/A membership_records N/A N/A yaml load N/A open filename r N/A membership membership_records N/A N/A N/A N/A len membership 4 N/A N/A membership N/A committee N/A N/A N/A Committee objects get thomas_id membership N/A N/A Processing committee %s committee N/A member N/A membership_records N/A membership N/A N/A bioguide N/A member N/A bioguide N/A legislator N/A N/A N/A Legislator objects get bioguide bioguide N/A N/A Adding %s N/A legislator last_name N/A N/A N/A N/A N/A N/A CurrentCommitteeMembership objects get committee committee member legislator N/A N/A N/A N/A CurrentCommitteeMembership DoesNotExist N/A N/A N/A N/A N/A CurrentCommitteeMembership objects create committee committee member legislator rank N/A member N/A rank party N/A member N/A party title N/A N/A member get title N/A Command N/A BaseCommand N/A N/A help Load current committees from yaml files. This is not efficient, because it checks for the existence of each separate piece of data before loading. N/A requires_model_validation False handle N/A N/A self N/A args options N/A N/A N/A process_file current_membership N/A N/A