(self)
| 91 | |
| 92 | impl LegacyPython { |
| 93 | fn name(self) -> &'static str { |
| 94 | match self { |
| 95 | Self::Wrapper(function) => function.into(), |
| 96 | Self::Logging(function) => function.into(), |
| 97 | Self::DeploymentHooks(function) => function.into(), |
| 98 | Self::Streaming(function) => function.into(), |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | pub(crate) fn call<'py, A>(self, py: Python<'py>, args: A) -> PyResult<Bound<'py, PyAny>> |
| 103 | where |