Skip to content

Commit 2e0e526

Browse files
committed
Add type ignore to unrelated stuff to get a clean mypy
1 parent 8665809 commit 2e0e526

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/a2a/server/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def create_task_model(
182182
TaskModel = create_task_model('tasks', MyBase)
183183
"""
184184

185-
class TaskModel(TaskMixin, base):
185+
class TaskModel(TaskMixin, base): # type: ignore
186186
__tablename__ = table_name
187187

188188
@override
@@ -235,7 +235,7 @@ def create_push_notification_config_model(
235235
) -> type:
236236
"""Create a PushNotificationConfigModel class with a configurable table name."""
237237

238-
class PushNotificationConfigModel(PushNotificationConfigMixin, base):
238+
class PushNotificationConfigModel(PushNotificationConfigMixin, base): # type: ignore
239239
__tablename__ = table_name
240240

241241
@override

src/a2a/utils/telemetry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def __exit__(self, *args: object, **kwargs: Any) -> None:
9595
def __getattr__(self, name: str) -> '_NoOp':
9696
return self
9797

98-
trace = _NoOp()
99-
_SpanKind = _NoOp()
100-
StatusCode = _NoOp()
98+
trace = _NoOp() # type: ignore
99+
_SpanKind = _NoOp() # type: ignore
100+
StatusCode = _NoOp() # type: ignore
101101

102102
SpanKind = _SpanKind
103103
__all__ = ['SpanKind']

0 commit comments

Comments
 (0)