langgenius/dify

better orm typing

Open

#22,652 opened on Jul 18, 2025

View on GitHub
 (9 comments) (2 reactions) (1 assignee)TypeScript (141,412 stars) (22,210 forks)batch import
good first issue💪 enhancement

Description

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

continue of #22626

now all the orm has Any as typing, but require more work to let typing work.

split into mutliple issues, since each step may cause other typing bugs.

2. Additional context or comments

now we are here: https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#step-three-apply-exact-python-types-as-needed-using-orm-mapped

example: #23322

3. Can you help us with this feature?

  • I am interested in contributing to this feature.

Contributor guide