zlatan
05/09/2023, 2:46 PMreplication_key = "purchaseDate"
That state is saved correctly, and I have the correct value there:
state.json file:
{
"bookmarks": {
"purchases": {
"replication_key": "purchaseDate",
"replication_key_value": "2023-05-09T13:34:20.000Z"
}
}
}
The question is now, how can I use replication_key_value
and send it as query param to my rest in here:
params: dict = {}
if next_page_token:
params["page"] = next_page_token
if self.replication_key:
params["fromDate"] = # get replication_key_value
return params