Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Add threading option to basedpyright checks (#27203)

Asuka Minatof6ede6f1c1f1
diff --git a/dev/basedpyright-check b/dev/basedpyright-check
index ef58ed1f579..1c87b27d6fa 100755
--- a/dev/basedpyright-check
+++ b/dev/basedpyright-check
@@ -10,7 +10,7 @@ PATH_TO_CHECK="$1"
# run basedpyright checks
if [ -n "$PATH_TO_CHECK" ]; then
- uv run --directory api --dev basedpyright "$PATH_TO_CHECK"
+ uv run --directory api --dev -- basedpyright --threads $(nproc) "$PATH_TO_CHECK"
else
- uv run --directory api --dev basedpyright
+ uv run --directory api --dev -- basedpyright --threads $(nproc)
fi