Enrico D'Urso
06/27/2023, 9:30 AMfor record in json_records:
<http://logger.info|logger.info>(record)
yield AirbyteMessage(
type=Type.RECORD,
record=AirbyteRecordMessage(stream=stream.name, data=record, emitted_at=int(datetime.now().timestamp()) * 1000),
)
#yield AirbyteStateMessage(state={"data": {stream.name: {"date": max_date}}})
yield AirbyteMessage(
type=Type.STATE,
state=AirbyteStateMessage(state={"data": {stream.name: {"date": max_date}}})
)
that is inside the read() function, (Source class extension).
I don't find an example to understand how to properly fill the last 3 lines!
Any clue? thankskapa.ai
06/27/2023, 9:30 AMkapa.ai
06/27/2023, 9:31 AMEnrico D'Urso
06/27/2023, 9:42 AM