hassan_syyid
07/08/2021, 9:50 PMPer record
and Per batch
options for serialization_method
with singer target sdk?douwe_maan
07/08/2021, 10:00 PMaaronsteers
07/08/2021, 10:11 PMhassan_syyid
07/08/2021, 10:11 PMaaronsteers
07/08/2021, 10:11 PMhassan_syyid
07/08/2021, 10:11 PMaaronsteers
07/08/2021, 10:12 PMhassan_syyid
07/08/2021, 10:13 PMaaronsteers
07/08/2021, 10:18 PMaaronsteers
07/08/2021, 10:19 PMhassan_syyid
07/08/2021, 10:27 PMDEFAULT_BATCH_SIZE_ROWS
will the default process_rows
create batches of max 10 rows?aaronsteers
07/08/2021, 10:31 PMSink.max_size
aaronsteers
07/08/2021, 10:31 PMaaronsteers
07/08/2021, 10:32 PMmax_size = 10
should force is_full
to report 'true' whenever the sync reaches 10 records, which then causes the process_batch()
method to be called.hassan_syyid
07/08/2021, 10:32 PMcontext["records"]
myself/aaronsteers
07/08/2021, 10:33 PMhassan_syyid
07/08/2021, 10:37 PMUploaded 10 | success=True
Uploaded 20 | success=False
level=ERROR message={"error":{"type":"INVALID_RECORDS","message":"A maximum of 10 records can be created per request but you have provided 20."}}
=Uploaded 28 | success=False
level=ERROR message={"error":{"type":"INVALID_RECORDS","message":"A maximum of 10 records can be created per request but you have provided 28."}}
hassan_syyid
07/08/2021, 10:37 PMhassan_syyid
07/08/2021, 10:37 PMrecords
count is going upaaronsteers
07/08/2021, 10:40 PMhassan_syyid
07/08/2021, 10:41 PMcontext["records"] = []
this fixed itaaronsteers
07/08/2021, 10:53 PMaaronsteers
07/08/2021, 10:53 PMaaronsteers
07/08/2021, 10:54 PMhassan_syyid
07/08/2021, 11:01 PMhassan_syyid
07/08/2021, 11:01 PMhassan_syyid
07/08/2021, 11:01 PMhassan_syyid
07/08/2021, 11:01 PMdouwe_maan
07/08/2021, 11:02 PMaaronsteers
07/08/2021, 11:09 PM<100
lines of code. Maybe a new record? 馃檪steven_brandt
01/27/2022, 7:19 PMhassan_syyid
01/27/2022, 10:04 PMtap-quickbooks --config config.json --catalog catalog.json > data.txt
switch venv
cat data.txt | target-airtable --config config.json