Releases: AfricasVoices/RapidProTools
Releases · AfricasVoices/RapidProTools
0.3.0
Breaking changes:
- Changes
rapid_pro_client.convert_runs_to_traced_data
to take a FirestoreUuidTable
rather than a PhoneNumberUuidTable
(#41).
- Removes the old fetching scripts and initial experiments (#44, #48). Instead, use the new rapid_pro_client library in this repository, which was first introduced in v0.2.6.
0.2.8
rapid_pro_client.fetch_raw_messages
now logs the number of fetched messages (#47).
rapid_pro_client.get_raw_runs_for_flow_id
now logs "Fetched raw runs"
instead of "Fetched raw contacts"
(#46).
0.2.7
- Adds a function for downloading the raw messages from Rapid Pro (
rapid_pro_client.get_raw_messages
) (#43).
- Adds functions for sending a message to an individual (
rapid_pro_client.send_message_to_urn
and rapid_pro_client.get_broadcast_for_broadcast_id
) (#45)
- Converts print calls to logging calls (#42)
0.2.6
- Added a pip-installable python library version of Rapid Pro Tools (#38), that supports incremental fetching (#39, #40).
0.2.5
- Added new tool
fetch_flow_definitions
(#36)
- Modified fetch_runs to:
- Allow for filtering retrieved data within a given time-range (#35)
- Include the 'run_id' as a top-level property of each run (#37)
- Check for production contacts having multiple URNs (#37)
- Give better descriptions in some of the error/warning messages (#37)
0.2.4
- Allows
docker-run.sh
in fetch_runs
and fetch_contacts
to be run using ./docker-run.sh
notation (#32)
- Runs
fetch_runs.py
in unbuffered mode in Docker (#31)
0.2.3
- Skips runs from contacts which do not have a URN (#29)
0.2.2
- Skips runs (and prints a warning) for runs from contacts not found at Rapid Pro's contacts endpoint (#28)
0.2.1
Updates fetch_contacts
as follows (#26):
- Add optional --test-contacts-path argument
- Skip contacts who didn't respond by telephone or twitter
- Only export fields which are not None
0.2.0
- Adds new subdirectory
fetch_contacts
for fetching contacts from Rapid Pro and exporting to TracedData.
- Adds optional argument
--test-contacts-path
to fetch_runs/docker-run.sh
. Set this to a path to a JSON file containing a list of Rapid Pro contact UUIDs in order to tag all messages received from that contact with {"test_run": True}
Breaking changes:
docker-run.sh
<flow-name>
argument is now optional. To set a flow-name, use sh docker-run.sh --flow-name <flow-name>
fetch_runs.py
moved to fetch_runs/fetch_runs.py