We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa864e commit 2a9f37fCopy full SHA for 2a9f37f
runtime/__init__.py
@@ -126,6 +126,17 @@ def load_method(self, name: str) -> Optional[Method]:
126
self._methods[name] = method
127
return method
128
129
+ def metadata(self, method_name: str) -> MethodMeta:
130
+ """Gets the metadata for the specified method.
131
+
132
+ Args:
133
+ method_name: The name of the method.
134
135
+ Returns:
136
+ The outputs of the method.
137
+ """
138
+ return self._program.method_meta(method_name)
139
140
141
class BackendRegistry:
142
"""The registry of backends that are available to the runtime."""
0 commit comments