Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it simpler to instantiate subcommittee-like Organizations #271

Open
mileswwatkins opened this issue Mar 17, 2017 · 1 comment
Open

Comments

@mileswwatkins
Copy link
Contributor

A to-do from the Open States documentation:

If you're instantiating a subcommittee, you'll need to pass ``parent_id``. ``parent_id`` can be:

    * another instance of ``Organization``
    * a dictionary, like ``{'name': 'Appropriations', 'classification': 'lower'}`` which will find the House Appropriations committee at import-time

    .. TODO: ^this is sort of a weird edge case, and could probably be handled a lot better in pupa

cc @jamesturk

@fgregg
Copy link
Contributor

fgregg commented Mar 17, 2017

There's a couple of other places where it's currently necessary to use this dictionary approach.

Besides subcommittee:

  • bill actions
  • related_entities of a bill action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants