Closed chavan-arvind closed 4 days ago
Hey @chavan-arvind! Thanks for this PR isn't it a duplicate of #19?
I think you should review #10 as it's definitely not a right way to define the storage strategy as ocr strategy. Please check PR #10 and try to apply the s3 strategy accordingly based on it ok?
I cannot accept this PR as it is right now due the architecture concerns
Related to #15
Add S3 storage strategy for output files.
S3OCRStrategy
class inapp/ocr_strategies/s3.py
implementing theOCRStrategy
interface usingboto3
to interact with AWS S3.S3OCRStrategy
inapp/tasks.py
and adds3
strategy toOCR_STRATEGIES
dictionary.AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
,AWS_S3_BUCKET_NAME
,AWS_REGION
) in.env.example
.boto3
dependency inapp/requirements.txt
.