Skip to content

Conversation

@asukaminato0721
Copy link
Contributor

@asukaminato0721 asukaminato0721 commented Sep 10, 2025

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

part of #22668.

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

Copilot AI review requested due to automatic review settings September 10, 2025 06:59
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 10, 2025

This comment was marked as outdated.

@dosubot dosubot bot added the 💪 enhancement New feature or request label Sep 10, 2025
gemini-code-assist[bot]

This comment was marked as outdated.

gemini-code-assist[bot]

This comment was marked as outdated.

@asukaminato0721 asukaminato0721 marked this pull request as draft September 10, 2025 07:18
@asukaminato0721 asukaminato0721 force-pushed the orm-query-first branch 2 times, most recently from 9bf61f3 to fcdf15c Compare September 10, 2025 08:48
@asukaminato0721 asukaminato0721 changed the title where -> filter_by for simple case use aliased for shorted name Sep 10, 2025
…ssion.scalars(select($NAME).where($COND).limit(1)).first()' -l py --update-all
…'db.session.scalars(select($NAME).where($COND).limit(1)).first()' -l py --update-all
…' -r 'db.session.scalars(select($NAME).where($COND, $C1).limit(1)).first()' -l py
@asukaminato0721 asukaminato0721 changed the title use aliased for shorted name update all .first() call Sep 10, 2025
… -r 'db.session.scalars(select($NAME).filter_by($COND).limit(1)).first()' -l py --update-all
…st()' -r 'db.session.scalars(select($NAME).filter_by($COND, $C1).limit(1)).first()' -l py --update-all
…' -r 'db.session.scalars(select($NAME).where($COND, $C1).limit(1)).first()' -l py --update-all
@asukaminato0721
Copy link
Contributor Author

need to change all mock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant