Skip to content

Commit f4d4199

Browse files
committed
fix[boilerplate] remove print statements from mock weather API methods
1 parent 18e5c3b commit f4d4199

File tree

1 file changed

+0
-2
lines changed
  • src/golf/examples/basic/resources/weather

1 file changed

+0
-2
lines changed

src/golf/examples/basic/resources/weather/common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def __init__(self, api_key: str = WEATHER_API_KEY, api_url: str = WEATHER_API_UR
2424
async def get_forecast(self, city: str, days: int = 3) -> dict[str, Any]:
2525
"""Get weather forecast for a city (mock implementation)."""
2626
# This would make an API call in a real implementation
27-
print(f"Would call {self.api_url}/forecast/{city} with API key {self.api_key[:4]}...")
2827
return {
2928
"city": city,
3029
"unit": self.unit,
@@ -33,7 +32,6 @@ async def get_forecast(self, city: str, days: int = 3) -> dict[str, Any]:
3332

3433
async def get_current(self, city: str) -> dict[str, Any]:
3534
"""Get current weather for a city (mock implementation)."""
36-
print(f"Would call {self.api_url}/current/{city} with API key {self.api_key[:4]}...")
3735
return {
3836
"city": city,
3937
"unit": self.unit,

0 commit comments

Comments
 (0)