skrawcz commented on code in PR #683:
URL: https://github.com/apache/burr/pull/683#discussion_r2969109311
##########
burr/core/action.py:
##########
@@ -100,8 +100,50 @@ def visit_Subscript(self, node):
)
+from functools import wraps
+
from burr.core.typing import ActionSchema
+
+def flexible_api(func: Callable[..., Any]) -> Callable[..., Any]:
Review Comment:
Let's not do this. It doesn't make the project better. Instead let's think
about a better typed approach that would make mypy happy.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]