@@ -23,7 +23,7 @@ async def get_nodes(
2323 str | None ,
2424 Field (default = None , description = "Branch to retrieve the objects from. Defaults to None (uses default branch)." ),
2525 ],
26- filters : Annotated [dict | None , Field (default = None , description = "Dictionary of filters to apply." )],
26+ filters : Annotated [dict [ str , Any ] | None , Field (default = None , description = "Dictionary of filters to apply." )],
2727 partial_match : Annotated [bool , Field (default = False , description = "Whether to use partial matching for filters." )],
2828) -> MCPResponse [list [str ]]:
2929 """Get all objects of a specific kind from Infrahub.
@@ -156,7 +156,7 @@ async def get_related_nodes(
156156 ctx : Context ,
157157 kind : Annotated [str , Field (description = "Kind of the objects to retrieve." )],
158158 relation : Annotated [str , Field (description = "Name of the relation to fetch." )],
159- filters : Annotated [dict | None , Field (default = None , description = "Dictionary of filters to apply." )],
159+ filters : Annotated [dict [ str , Any ] | None , Field (default = None , description = "Dictionary of filters to apply." )],
160160 branch : Annotated [
161161 str | None ,
162162 Field (default = None , description = "Branch to retrieve the objects from. Defaults to None (uses default branch)." ),
0 commit comments