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/models
k-brahma-claude f25af8430e style: convert unittest assertions to pytest style
Convert unittest-style assertions (assertEqual, assertTrue, etc.) to
pytest-style assertions to comply with project linting standards.

Applied via ruff --unsafe-fixes to ensure consistency.

 All 28 tests pass with pytest conversion
11 months ago
..
__init__.py feat: add MCP support (#20716) 11 months ago
_workflow_exc.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 12 months ago
account.py style: convert unittest assertions to pytest style 11 months ago
api_based_extension.py refactor(models): Use the SQLAlchemy base model. (#19435) 1 year ago
base.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 1 year ago
dataset.py fix: set the func.coalesce() second paramter default value #21239 (#21240) 11 months ago
engine.py feat(api): Add image multimodal support for LLMNode (#17372) 1 year ago
enums.py moving the `MessageStatus` class from the `models.model` module to `models.enums` module (#21867) 11 months ago
model.py feat(api/repo): Allow to config repository implementation (#21458) 11 months ago
provider.py refactor: Improve model status handling and structured output (#20586) 1 year ago
source.py refactor(models): Use the SQLAlchemy base model. (#19435) 1 year ago
task.py Introduce Plugins (#13836) 1 year ago
tools.py feat: add MCP support (#20716) 11 months ago
types.py feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 1 year ago
web.py Introduce Plugins (#13836) 1 year ago
workflow.py feat(libs): Introduce `extract_tenant_id` (#22086) 11 months ago