You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/factories
-LAN- f7270d9549
fix: Fix failing unit tests after ORM query refactoring
- Fix double dot issue in _build_from_tool_file extension handling
- Update test mocks to use .where() instead of .filter() to match refactored ORM queries
- Update test mocks to use db.session.scalar instead of db.session.query for single result queries
- Fix mock_tool_file fixture to properly patch db.session.scalar

All 367 tests in factories and services modules now pass.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
..
__init__.py feat: mypy for all type check (#10921) 1 year ago
agent_factory.py feat: add MCP support (#20716) 10 months ago
file_factory.py fix: Fix failing unit tests after ORM query refactoring 10 months ago
variable_factory.py refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025) 10 months ago