aws-samples / amazon-textract-idp-cdk-constructs

MIT No Attribution
30 stars 13 forks source link

TextractGenerateCSV Only Returns Last Processed CSV Location #96

Open dannellyz opened 1 year ago

dannellyz commented 1 year ago

This could be a limitation of my current implementation, but when using the TextractGenerateCSV Construct with Tables as a feature input and return types of CSV I only review the last processed file as a return, rather than a list of all the S3 csvs created.

Here is the line I was looking at for possible return of a list? https://github.com/aws-samples/amazon-textract-idp-cdk-constructs/blob/f085def408f2a99779a821cf7a0895ff7fcdc4a9/lambda/generatecsv/app/main.py#L269

schadem commented 1 year ago

Good point. I'll update that.

dannellyz commented 1 year ago

I currently just go to the location of the last update and then pull all csvs from that bucket as a work around.