-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add new thing types and transfer functions for rock samples, surface water diversions, lakes, soil gas samples, and outfalls #462
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
base: staging
Are you sure you want to change the base?
Conversation
…rface water diversions, lakes, soil gas samples, and outfalls
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.
Pull request overview
This PR adds support for transferring six new location/thing types (rock samples, surface water diversions, lakes, soil gas samples, other site types, and outfalls) to the data transfer system. The implementation refactors the existing transfer logic to use a dynamic approach for processing these types.
Changes:
- Added six new transfer functions and corresponding transfer options for new thing types
- Refactored the transfer loop to dynamically discover and call transfer functions using globals()
- Added lexicon definitions for the new thing types
- Extracted duplicate release status logic into a helper function
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| transfers/transfer.py | Added new transfer options and refactored non-well task loop to use dynamic function lookup |
| transfers/thing_transfer.py | Added transfer functions for six new thing types and extracted _release_status helper |
| core/lexicon.json | Added lexicon entries for the six new thing types |
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d6bf42cd20
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
… in chemistry_sampleinfo
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.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
| from starlette.requests import Request | ||
| from starlette_admin import HasOne |
Copilot
AI
Feb 4, 2026
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.
These imports appear to be unused in the visible diff. If they are not used elsewhere in the file, they should be removed to avoid clutter.
Why
This PR addresses the following problem / context:
How
Implementation summary - the following was changed / added / removed:
Notes
Any special considerations, workarounds, or follow-up work to note?