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

snake_ify Reporter's camelCased attribute names #23

Open
thejunglejane opened this issue Jan 17, 2016 · 2 comments
Open

snake_ify Reporter's camelCased attribute names #23

thejunglejane opened this issue Jan 17, 2016 · 2 comments

Comments

@thejunglejane
Copy link
Owner

Not everywhere does addresses like this.

placemark_snapshot_dict = {
    ...
    'city': placemark_snapshot.get('locality'),
    'county': placemark_snapshot.get('subAdministrativeArea'),
    'state': placemark_snapshot.get('administrativeArea'),
    ...
@thejunglejane
Copy link
Owner Author

On a more global scale, I should just snake_ify Reporter's camelCased attribute names. This will obviate the need for a _report_key_mapper, and avoid failures if/when Reporter's attribute names change.

@thejunglejane thejunglejane changed the title Quit being such a nationalist snake_ify Reporter's camelCased attribute names Jan 19, 2016
@thejunglejane
Copy link
Owner Author

  • Update models.questions
  • Update models.reports
  • Update models.responses
  • Update tests
  • Update data model

@thejunglejane thejunglejane modified the milestone: v1.0.0 Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant