Add `get_runtime_vars()` accessor to `._state`
Expose a copy of the current actor's `_runtime_vars` dict via a public fn; TODO to convert to `RuntimeVars` struct. (this commit msg was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-codemulticast_revertable_streams
parent
cc3bfac741
commit
c7b5d00f19
|
|
@ -234,3 +234,12 @@ def current_ipc_protos() -> list[str]:
|
||||||
|
|
||||||
'''
|
'''
|
||||||
return _runtime_vars['_enable_tpts']
|
return _runtime_vars['_enable_tpts']
|
||||||
|
|
||||||
|
|
||||||
|
# !TODO, convert this to the new `RuntimeVars` struct!
|
||||||
|
def get_runtime_vars() -> dict:
|
||||||
|
'''
|
||||||
|
Deliver a **copy** of the current `Actor`'s "runtime variables".
|
||||||
|
|
||||||
|
'''
|
||||||
|
return dict(_runtime_vars)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue