Skip to content

Commit 868157f

Browse files
Update src/a2a/server/id_generator.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 0f9a3ca commit 868157f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/server/id_generator.py

Lines changed: 2 additions & 2 deletions
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:
27-
"""Generates a random UUID."""
26+
def generate(self, _context: IDGeneratorContext) -> str:
27+
"""Generates a random UUID, ignoring the context."""
2828
return str(uuid.uuid4())

0 commit comments

Comments
 (0)