Is there a way for me to access the last time a st...
# getting-started
j
Is there a way for me to access the last time a stream was successfully ran from inside of a stream? When I invoke
meltano run <tap_name>
a state datetime from the last run is printed to stdout. But when I inspect the class object for my stream the closest thing I can find is the
stream_state
which has a
replication_key_signpost
, but I don't think the signpost is what I'm looking for because it doesn't match the state datetime in stdout. Any advice?
I ended up using the
Stream.get_starting_timestamp
function, incase anyone has a similar question!