Skip to content

fix: fix imports#36042

Merged
wylswz merged 1 commit into
langgenius:lts/1.13.xfrom
wylswz:fix/lts-import
May 11, 2026
Merged

fix: fix imports#36042
wylswz merged 1 commit into
langgenius:lts/1.13.xfrom
wylswz:fix/lts-import

Conversation

@wylswz
Copy link
Copy Markdown
Contributor

@wylswz wylswz commented May 11, 2026

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

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 make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

@wylswz wylswz requested a review from a team May 11, 2026 09:12
@wylswz wylswz requested a review from QuantumGhost as a code owner May 11, 2026 09:12
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-11 09:13:53.359202751 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-11 09:13:42.522120200 +0000
@@ -32,8 +32,6 @@
    --> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:325:29
 ERROR Argument `list[Unknown]` is not assignable to parameter `value` with type `SQLCoreOperations[dict[str, Any]] | dict[str, Any]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
    --> core/app/task_pipeline/easy_ui_based_generate_task_pipeline.py:392:27
-ERROR Cannot find module `dify.api.configs` [missing-import]
- --> core/helper/credential_utils.py:5:1
 ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, int], stream=Literal[False]) [no-matching-overload]
   --> core/llm_generator/llm_generator.py:73:60
 ERROR No matching overload found for function `core.model_manager.ModelInstance.invoke_llm` called with arguments: (prompt_messages=list[UserPromptMessage], model_parameters=dict[str, float | int], stream=Literal[False]) [no-matching-overload]
@@ -372,8 +370,6 @@
    --> dify_graph/nodes/base/node.py:398:32
 ERROR Object of class `BaseOxmlElement` has no attribute `body` [missing-attribute]
    --> dify_graph/nodes/document_extractor/node.py:446:19
-ERROR Could not import `sign_upload_file` from `core.tools.signature` [missing-module-attribute]
-  --> dify_graph/nodes/llm/node.py:19:34
 ERROR Object of class `NoneType` has no attribute `instrument_app` [missing-attribute]
    --> extensions/otel/instrumentation.py:103:5
 ERROR Object of class `NoneType` has no attribute `instrument` [missing-attribute]

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 11, 2026
@wylswz wylswz merged commit cc72e56 into langgenius:lts/1.13.x May 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants