We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb731a commit 09a5d05Copy full SHA for 09a5d05
oqpy/base.py
@@ -338,7 +338,7 @@ def expr_matches(a: Any, b: Any) -> bool:
338
class ExpressionConvertible(Protocol):
339
"""This is the protocol an object can implement in order to be usable as an expression."""
340
341
- def _to_oqpy_expression(self) -> HasToAst:
+ def _to_oqpy_expression(self) -> AstConvertible:
342
... # pragma: no cover
343
344
@@ -355,7 +355,7 @@ class CachedExpressionConvertible(Protocol):
355
356
_oqpy_cache_key: Hashable
357
358
- def _to_cached_oqpy_expression(self) -> HasToAst:
+ def _to_cached_oqpy_expression(self) -> AstConvertible:
359
360
361
0 commit comments