Skip to content

Commit dfd5295

Browse files
authored
Merge pull request lightspeed-core#1308 from tisnik/lcore-1438-minor-refactoring
LCORE-1438: minor refactoring
2 parents 1efbba4 + e201fd7 commit dfd5295

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

src/a2a_storage/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
__all__ = [
1818
"A2AContextStore",
19+
"A2AStorageFactory",
1920
"InMemoryA2AContextStore",
20-
"SQLiteA2AContextStore",
2121
"PostgresA2AContextStore",
22-
"A2AStorageFactory",
22+
"SQLiteA2AContextStore",
2323
]

src/observability/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
from observability.formats import InferenceEventData, build_inference_event
1212
from observability.splunk import send_splunk_event
1313

14-
__all__ = ["send_splunk_event", "InferenceEventData", "build_inference_event"]
14+
__all__ = ["InferenceEventData", "build_inference_event", "send_splunk_event"]

tests/e2e/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def restart_container(container_name: str) -> None:
268268
check=True,
269269
)
270270
except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as e:
271-
print(f"Failed to restart container {container_name}: {str(e.stderr)}")
271+
print(f"Failed to restart container {container_name}: {e.stderr!s}")
272272
raise
273273

274274
# Wait for container to be healthy

tests/unit/app/endpoints/test_streaming_query.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,8 +2369,7 @@ def build_mcp_tool_call_side_effect(
23692369
# Remove item from dict to simulate real behavior
23702370
# arguments parameter is required by function signature but unused here
23712371
_ = arguments
2372-
if output_index in mcp_call_items:
2373-
del mcp_call_items[output_index]
2372+
mcp_call_items.pop(output_index, None)
23742373
return mock_tool_call
23752374

23762375
mocker.patch(

0 commit comments

Comments
 (0)