-
Notifications
You must be signed in to change notification settings - Fork 290
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
Dev minor #1554
Dev minor #1554
Conversation
* move verification to auth * add send reset email
* fix f-string for backwards * fix f-string for backwards
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
* fix tests * fix tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to 58bf088 in 1 minute and 53 seconds
More details
- Looked at
1267
lines of code in26
files - Skipped
1
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. js/sdk/src/r2rClient.ts:478
- Draft comment:
Avoid passingundefined
explicitly as a parameter. It can lead to confusion and potential bugs. Consider removing it or providing a meaningful default value. - Reason this comment was not posted:
Confidence changes required:50%
The code inr2rClient.ts
andr2rClient.test.ts
has a minor issue with the addition of anundefined
parameter. This is not a good practice as it can lead to confusion and potential bugs. It would be better to explicitly name the parameter or remove it if not needed.
2. js/sdk/__tests__/r2rClient.test.ts:356
- Draft comment:
Avoid passingundefined
explicitly as a parameter. It can lead to confusion and potential bugs. Consider removing it or providing a meaningful default value. - Reason this comment was not posted:
Confidence changes required:50%
The code inr2rClient.ts
andr2rClient.test.ts
has a minor issue with the addition of anundefined
parameter. This is not a good practice as it can lead to confusion and potential bugs. It would be better to explicitly name the parameter or remove it if not needed.
Workflow ID: wflow_pmNBFwKN2Pelg1AP
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
name="update-document-metadata", | ||
timeout="30m", | ||
) | ||
class HatchetUpdateDocumentMetadataWorkflow: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class duplicates the functionality of update_document_metadata
in simple/ingestion_workflow.py
. Consider refactoring to use the existing function.
- function
update_document_metadata
(ingestion_workflow.py)
Important
This PR adds email reset and document metadata update features, updates API endpoints, and enhances document ingestion with collection ID support.
sendResetEmail()
tor2rClient
inr2rClient.ts
for sending reset emails.updateDocumentMetadata()
tor2rClient
inr2rClient.ts
for updating document metadata.collection_ids
support inr2rClient
methods for document ingestion and updates./send_reset_email
and/update_document_metadata/{document_id}
endpoints inauth_router.py
andingestion_router.py
.WrappedMetadataUpdateResponse
tomodels/__init__.py
andingestion/responses.py
.send_reset_email
method toauth.py
andr2r_auth.py
.update_document_metadata
method toingestion_service.py
.collection_ids
handling iningestion_workflow.py
andsimple/ingestion_workflow.py
.package.json
version to0.3.14
.deduplication.py
andkg.py
.This description was created by for 58bf088. It will automatically update as commits are pushed.