-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map items to objects instead of dicts (#409)
* Consistent parameter name for map_item() * Wrap mapped items in MappedItem() object * Keep track of import warnings in search.py * Add warning when mapping a tweet with missing metric data * Add new iterate_mapped_objects method * Log mapping warnings when merging datasets * Pass object instead of dict * Clarify Twitter warning * Documenting MappedItem * Explain things to myself * Remove unused methods from Dataset class * Woops, accidentally committed this * Allow passing missing fields to MappedItem * Add MappedItemIncompleteException * Add map_missing argument to iterate_mapped_items/objects * Fix bug * MissingMappedField things * Always warn when importing missing fields * Consistent defaults * Fix missing metrics warning
- Loading branch information
Showing
19 changed files
with
536 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.