File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2020 ModuleDetailsRequest ,
2121 ModuleSearchRequest ,
2222)
23+ from typing import Optional
2324
2425# Global configuration and logger
2526config : Config = load_config ()
3334@mcp .tool ()
3435async def search_modules (
3536 query : str ,
36- namespace : str = None ,
37- provider : str = None ,
37+ namespace : Optional [ str ] = None ,
38+ provider : Optional [ str ] = None ,
3839 limit : int = 10 ,
3940) -> str :
4041 """
@@ -278,8 +279,8 @@ async def list_content(module_id: str, version: str = "latest") -> str:
278279async def get_content (
279280 module_id : str ,
280281 path : str = "" ,
281- include_files : list [str ] = None ,
282- exclude_files : list [str ] = None ,
282+ include_files : Optional [ list [str ] ] = None ,
283+ exclude_files : Optional [ list [str ] ] = None ,
283284 include_readme : bool = True ,
284285 version : str = "latest" ,
285286) -> str :
You can’t perform that action at this time.
0 commit comments