Skip to content
Closed

asdf #21

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/upload-integ-test-metrics.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
import sys
import xml.etree.ElementTree as ET
from datetime import datetime, UTC
from datetime import datetime
from dataclasses import dataclass
from typing import Any, Literal, TypedDict
import os
Expand Down Expand Up @@ -67,7 +67,7 @@ def parse_junit_xml(xml_file_path: str) -> list[TestResult]:

def build_metric_data(test_results: list[TestResult], repository: str) -> list[MetricDatum]:
metrics: list[MetricDatum] = []
timestamp = datetime.now(UTC)
timestamp = datetime.utcnow()

for test in test_results:
test_name = f"{test.classname}.{test.name}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ jobs:
hatch test tests_integ

- name: Publish test metrics to CloudWatch
if: always()
run: |
python .github/scripts/upload-integ-test-metrics.py ./build/test-results.xml ${{ github.event.repository }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ Seamlessly integrate Model Context Protocol (MCP) servers:
from strands import Agent
from strands.tools.mcp import MCPClient
from mcp import stdio_client, StdioServerParameters

aws_docs_client = MCPClient(
lambda: stdio_client(StdioServerParameters(command="uvx", args=["awslabs.aws-documentation-mcp-server@latest"]))
)
Expand Down
Loading