Bowrna commented on a change in pull request #22217:
URL: https://github.com/apache/airflow/pull/22217#discussion_r825570397



##########
File path: airflow/providers/docker/operators/docker_swarm.py
##########
@@ -86,8 +86,19 @@ class DockerSwarmOperator(DockerOperator):
     :param mode: Indicate whether a service should be deployed as a replicated 
or global service,
         and associated parameters
     :param networks: List of network names or IDs or NetworkAttachmentConfig 
to attach the service to.
-    :param placement: Placement instructions for the scheduler. If a list is 
passed instead,
-        it is assumed to be a list of constraints as part of a Placement 
object.
+        NetworkAttachmentConfig object accepts following params:

Review comment:
       yes, it makes sense. I have raised this PR in response to this issue 
#15974
   It looked like the constraints and network option is overlooked. therefore I 
have added this to the documentation. What do you suggest wrt this issue? 
@mik-laj 




-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to