Skip to content

Commit 7492f8a

Browse files
author
lkawka
committed
Rollback gemini suggestion.
Pyright error: Method "generate" overrides class "IDGenerator" in an incompatible manner Parameter 2 name mismatch: base parameter is named "context", override parameter is named "_context" (reportIncompatibleMethodOverride)
1 parent 97b7f46 commit 7492f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/server/id_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ def generate(self, context: IDGeneratorContext) -> str:
2323
class UUIDGenerator(IDGenerator):
2424
"""UUID implementation of the IDGenerator interface."""
2525

26-
def generate(self, _context: IDGeneratorContext) -> str:
26+
def generate(self, context: IDGeneratorContext) -> str:
2727
"""Generates a random UUID, ignoring the context."""
2828
return str(uuid.uuid4())

0 commit comments

Comments
 (0)