uranusjr commented on a change in pull request #15330:
URL: https://github.com/apache/airflow/pull/15330#discussion_r677956474
##########
File path: airflow/decorators/__init__.py
##########
@@ -139,5 +139,169 @@ def virtualenv(
**kwargs,
)
+ @staticmethod
+ def docker( # pylint: disable=too-many-arguments,too-many-locals
+ python_callable: Optional[Callable] = None,
Review comment:
I wonder if `functools.update_wrapper()` or `functools.wraps()` would
work here.
--
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]