MCPcopy
hub / github.com/LazyAGI/LazyLLM / forward

Method forward

lazyllm/tools/tools/weather.py:30–35  ·  view source on GitHub ↗
(self, city_name: str)

Source from the content-addressed store, hash-verified

28 super().__init__(method='GET', url=url)
29
30 def forward(self, city_name: str) -> Optional[Dict]:
31 city_code = self._city2code.get(city_name)
32 if not city_code:
33 return None
34
35 return super().forward(city_code=city_code)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected