rithesh_s
06/23/2021, 2:16 PMprepare_request_payload()
for a tap in order get the bookmark values so they can add it in a payload for the API POST Request. I am able to successfully send the requests but i want the value of replication keys in the state file be used in the request as part of state feature .aaronsteers
06/23/2021, 5:11 PMStream.get_starting_timestamp(context)
, which takes the same context passed to prepare_request_payload()
and returns a datetime value. For non-datetime types, use Stream.get_starting_replication_key_value()
. The two are mostly identical except that the datetime version also considers the start_date
config value, if set.aaronsteers
06/23/2021, 5:12 PMaaronsteers
06/23/2021, 5:14 PMrithesh_s
06/23/2021, 6:33 PMrithesh_s
06/23/2021, 6:35 PMrithesh_s
06/23/2021, 6:36 PMaaronsteers
06/23/2021, 6:38 PMstart_date
from config if set. Otherwise (if neither is true) would be null.rithesh_s
06/23/2021, 6:38 PMaaronsteers
06/23/2021, 7:13 PMrithesh_s
06/24/2021, 5:00 AMaaronsteers
06/24/2021, 3:17 PM