def python_value(self, value): if inspect.isawaitable(value): return self.async_python_value(value) return super().python_value(value)