The FunctionCall context that the SDK caller is currently executing in. If the caller is not currently executing in a function, this will return an error.
(self)
| 12844 | return Env(_ctx) |
| 12845 | |
| 12846 | def current_function_call(self) -> FunctionCall: |
| 12847 | """The FunctionCall context that the SDK caller is currently executing |
| 12848 | in. |
| 12849 | |
| 12850 | If the caller is not currently executing in a function, this will |
| 12851 | return an error. |
| 12852 | """ |
| 12853 | _args: list[Arg] = [] |
| 12854 | _ctx = self._select("currentFunctionCall", _args) |
| 12855 | return FunctionCall(_ctx) |
| 12856 | |
| 12857 | def current_module(self) -> CurrentModule: |
| 12858 | """The module currently being served in the session, if any.""" |
no test coverage detected