fix: fix rag pipeline operation permission - #40841
Open
fatelei wants to merge 1 commit into
Open
Conversation
fatelei
marked this pull request as ready for review
August 17, 2026 02:57
fatelei
requested review from
JohnJyong,
QuantumGhost and
laipz8200
as code owners
August 17, 2026 02:57
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-08-17 03:35:26.726872737 +0000
+++ /tmp/pyrefly_pr.txt 2026-08-17 03:35:17.321901794 +0000
@@ -1980,6 +1980,8 @@
--> tests/unit_tests/controllers/console/auth/test_oauth.py:238:9
ERROR Object of class `FromClause` has no attribute `create` [missing-attribute]
--> tests/unit_tests/controllers/console/datasets/rag_pipeline/test_rag_pipeline.py:82:9
+ERROR `SimpleNamespace` is not assignable to attribute `_current_tenant` with type `Tenant | None` [bad-assignment]
+ --> tests/unit_tests/controllers/console/datasets/rag_pipeline/test_rag_pipeline_import.py:41:31
ERROR Object of class `FromClause` has no attribute `create` [missing-attribute]
--> tests/unit_tests/controllers/console/datasets/rag_pipeline/test_rag_pipeline_workflow.py:110:9
ERROR Object of class `FromClause` has no attribute `create` [missing-attribute]
|
Contributor
Pyrefly Type Coverage
|
fatelei
force-pushed
the
rag_pipeline_permission
branch
from
August 17, 2026 03:33
e33a78b to
2d4e576
Compare
fatelei
force-pushed
the
rag_pipeline_permission
branch
from
August 17, 2026 03:40
2d4e576 to
9b94f06
Compare
WH-2099
enabled auto-merge
August 17, 2026 09:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Fixes #<issue number>.Summary
fix rag pipeline operation permission #37988
Screenshots
Checklist
make lint && make type-check(backend) andvp staged(frontend) to appease the lint gods