-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref: Some fixes for ruff rules preview mode #4197
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
241119e
to
691e6ca
Compare
@@ -510,7 +512,7 @@ async def build_vertex( | |||
lock = chat_service._async_cache_locks[flow_id_str] | |||
vertex_build_result = await graph.build_vertex( | |||
vertex_id=vertex_id, | |||
user_id=current_user.id, | |||
user_id=str(current_user.id), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a typing error as current.id
is an UUID
and build_vertex
takes a string.
I think it's OK to transform the UUID to string as self._uuid
can be both string and UUID
in BaseComponent
.
WDYT @ogabrielluiz ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree
dcdf73c
to
64b62f8
Compare
8bb38ad
to
7c20927
Compare
7c20927
to
fb418b8
Compare
Some fixes for ruff rules preview mode