Skip to content

Commit 9f9b41d

Browse files
authored
Merge pull request #655 from praekeltfoundation/migrate-to-turn-scripts
Add language to test
2 parents 85c2c5b + 8c4ffea commit 9f9b41d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/migrate_to_turn/fetch_rapidpro_contacts.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88

99
RAPIDPRO_URL = "https://rapidpro.qa.momconnect.co.za"
1010

11-
START_DATE = "2024-01-01 14:13:06"
12-
END_DATE = "2025-01-07 19:13:06"
11+
START_DATE = "2025-01-20 01:13:06"
12+
END_DATE = "2025-01-20 19:13:06"
1313
LIMIT = 1000
1414

1515
# TODO: add all the fields here: <rapidpro-field-name>: <details>
1616
FIELD_MAPPING = {
1717
"edd": {"turn_name": "test", "process": process_datetime, "type": "custom"},
1818
"name": {"turn_name": "name", "type": "default"},
19+
"language": {"turn_name": "language", "type": "default"},
1920
}
2021

2122
client = TembaClient(RAPIDPRO_URL, os.environ["RAPIDPRO_TOKEN"])

0 commit comments

Comments
 (0)