You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/metatype.dev/docs/reference/metagen/index.mdx
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -170,8 +170,9 @@ This generator supports:
170
170
- Python classes that map to typegraph types
171
171
- Decorators for custom functions implementors that require adherance to typegraph function types.
172
172
- By default, all functions from the `PythonRuntime` get stub types.
173
-
- TODO: `stubbed_runtimes` for `fdk_py`
174
-
- TODO: types for interacting with the typegate from within custom functions.
173
+
- Use `stubbed_runtimes` to select which runtimes get stubs.
174
+
-[`client_py`](#client_py) based typegraph client
175
+
- Special `HostcallTransport` implementation
175
176
176
177
If the referenced module for the custom function is not found, the generator will also output stub implementation (in addition to the types) at the given type. It will not replace our code on a second run.
177
178
@@ -214,7 +215,8 @@ To be more specific, it supports:
214
215
- By default, all functions from the `WasmRuntime` get stub types.
215
216
- The generator assumes the `wire` based wasm interface is being targetted.
216
217
-`stubbed_runtimes` key can be used to configure stub generation from additional runtimes.
217
-
- Types for interacting with the typegate from within custom functions.
218
+
-[`client_rs`](#client_py) based typegraph client
219
+
- Special `HostcallTransport` implementation.
218
220
- Glue code for setting up the wasm component to be run within the `WasmRuntime`.
219
221
220
222
By default the generator will also output a library crate entrypoint and a functional Cargo.toml with all the required dependencies. These additional files wlil not be overwritten on a second run. The generator can also be configured to avoid generating them even if not present.
0 commit comments