Repository navigation
Conversation
✅ Deploy Preview for antenna-ssec canceled.
|
✅ Deploy Preview for antenna-preview canceled.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 29 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (1)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change removes ChangesTaxonomy manager
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Refactor Merge Risk: ⚪ Minimal · up to This change removes an unused helper method from the taxonomy manager. No behavior change or production impact is expected, and no merge-blocking concerns were found. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)✅ Passed checks (4 passed)Full details: Description checkResolution Complete the required pull request template. Add the summary, list of changes, related issues or state that none apply, detailed description with risks, testing steps and results, screenshots or an applicable statement, deployment notes, and checklist status. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
||
| logging.info(f"Updated parents for {len(bulk_update_data)} taxa") | ||
|
|
||
| def with_children(self): |
There was a problem hiding this comment.
Funny I think this was a note to myself, because we do need to query all children for some missing features, and I will not remember how to do this:
taxa = Taxon.objects.filter(parents_json__contains=[{"id": taxon.id}])
qs = qs.annotate(children=models.Subquery(taxa.values("id")))
Maybe that can go in a docstring somewhere else.
There was a problem hiding this comment.
add it to the issue that adds the missing features?
… the implentation is example code with a hardoded key which will be an error if used.
17bce99 to
4c75062
Compare
… the implentation is example code with a hardcoded key which will be an error if used.
Summary by CodeRabbit
with_children()method for taxon queries.