shahar1 commented on code in PR #70342:
URL: https://github.com/apache/airflow/pull/70342#discussion_r3647793930
##########
providers/docker/src/airflow/providers/docker/operators/docker.py:
##########
@@ -490,6 +487,7 @@ def _copy_from_docker(self, container_id, src):
return lib.load(file)
def execute(self, context: Context) -> list[str] | str | None:
+ self.mounts = [m if isinstance(m, Mount) else Mount(**m) for m in
self.mounts]
Review Comment:
Please make sure that `DockerSwarmOperator` (inherits from current class) is
aligned with these changes. It apparently calls `_run_service`, but without
calling `super().execute` first.
--
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]