Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
733386b
feat(api/repo): Allow to config repository implementation
laipz8200 Jun 24, 2025
b2b4049
feat: Create a DifyAPIRepositoryFactory to handle workflow node execu…
laipz8200 Jun 27, 2025
b450acf
feat: Create a APIWorkflowRunRepository
laipz8200 Jun 27, 2025
6a11105
test(workflow_service): Fix test
laipz8200 Jun 27, 2025
641cabc
chore: add new configs to env example
laipz8200 Jun 27, 2025
8e71a9a
test(test_workflow_draft_variable_service): Fix tests
laipz8200 Jul 7, 2025
6076240
feat: Integrates execution repository inheritance
laipz8200 Jul 9, 2025
63bbcaf
refactor(token_buffer_memory): Convert ValueError to AssertionError
laipz8200 Jul 10, 2025
cf2b5c7
refactor(workflow_response_converter): Remove unused workflow_executi…
laipz8200 Jul 10, 2025
f585431
refactor(factory): Move import statement to the top
laipz8200 Jul 10, 2025
a0cfdb4
docs(api_workflow_node_execution_repository): Add notice about datat …
laipz8200 Jul 10, 2025
40a7089
refactor(api_workflow_node_execution_repository): Refactors workflow …
laipz8200 Jul 10, 2025
00462a0
refactor(api): Simplify the constructor for WorkflowDraftVariableService
QuantumGhost Jul 10, 2025
115c6e2
chore(api): improve type hints for `DifyCoreRepositoryFactory`
QuantumGhost Jul 10, 2025
00c50ed
test(api): fix tests broken by refactor
QuantumGhost Jul 10, 2025
7a47b86
refactor(remove_app_and_related_data_task): Remove 'expire_on_commit'…
laipz8200 Jul 14, 2025
42a195e
feat(api/repositories/sqlalchemy_api_workflow_run_repository.py): Imp…
laipz8200 Jul 14, 2025
0d1b27f
docs(api/repositories/api_workflow_node_execution_repository.py): Add…
laipz8200 Jul 14, 2025
7cabcea
docs(api/repositories/sqlalchemy_api_workflow_node_execution_reposito…
laipz8200 Jul 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor(factory): Move import statement to the top
Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 committed Jul 14, 2025
commit f5854315f4aae4be96b4141f1bf120150b105f6e
2 changes: 1 addition & 1 deletion api/core/repositories/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"""

import importlib
import inspect
import logging
from typing import Any, Union

Expand Down Expand Up @@ -99,7 +100,6 @@ def _validate_constructor_signature(repository_class: Any, required_params: list
Raises:
RepositoryImportError: If the constructor doesn't accept required parameters
"""
import inspect

try:
signature = inspect.signature(repository_class.__init__)
Expand Down