Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation Export Bug Fix #230

Merged
merged 3 commits into from
Mar 15, 2024
Merged

Conversation Export Bug Fix #230

merged 3 commits into from
Mar 15, 2024

Conversation

star-nox
Copy link
Member

No description provided.

Copy link

You need to setup a payment method to use Lintrule

You can fix that by putting in a card here.

@star-nox star-nox requested a review from rohan-uiuc March 12, 2024 20:49
Base automatically changed from dependency_injection to add_beam_serverless_ingest March 12, 2024 22:20
Base automatically changed from add_beam_serverless_ingest to main March 12, 2024 22:30
# call background task to upload to s3

filename = course_name + '_' + str(uuid.uuid4()) + '_documents.zip'
s3_filepath = f"courses/{course_name}/{filename}"
# background task of downloading data - map it with above ID
executor = ProcessPoolExecutor()
executor.submit(self.export_data_in_bg, response, "documents", course_name, s3_filepath)
return {"response": 'Download from S3', "s3_path": s3_filepath}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep the response as Download from S3. The user message will be created on frontend on the basis of this response.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted!

@star-nox star-nox merged commit cac7315 into main Mar 15, 2024
1 check passed
@star-nox star-nox deleted the refactor-export-fix branch March 15, 2024 19:51
Copy link

sentry-io bot commented Mar 19, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ ReadTimeout: The read operation timed out ai_ta_backend.database.sql in getDocumentsBetwe... View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants