Tom K

Results 5 comments of Tom K

Or you could use: `pdf_template = pdfrw.PdfReader(infile)` `pdf_template.Root.AcroForm.update(pdfrw.PdfDict(NeedAppearances=pdfrw.PdfObject('true')))` `pdfrw.PdfWriter().write(outfile, pdf_template)` This adds the NeedAppearances key/value to the AcroForm dict. If I'm understanding your problem correctly. * Updated 07/15/2020 to fix...

Why would you code it this way? Never seen this type of model / ForeignKey relationship. It's not logical.

Ugh what's up with missing newlines.

``` flow = Dataflow('dataflow_binance_trades') clock_config = EventClock( lambda data: datetime.fromtimestamp(data['T'] / 1000, tz=timezone.utc), wait_for_system_duration=timedelta(seconds=1) ) align_to = datetime(2023, 1, 1, tzinfo=timezone.utc) window_config = TumblingWindower(align_to=align_to, length=timedelta(seconds=1),) s = ( op.input('kafka_source', flow,...

cleaned_joined_stream looks like this: ``` ('BOMEUSDT', (WindowMetadata(open_time=datetime.datetime(2024, 7, 7, 0, 59, 59, tzinfo=datetime.timezone.utc), close_time=datetime.datetime(2024, 7, 7, 1, 0, tzinfo=datetime.timezone.utc), merged_ids=set()), [(0.007598, 345.982528), (0.007597, 504.577546)])) ('SUIUSDT', (WindowMetadata(open_time=datetime.datetime(2024, 7, 7, 0, 59,...