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



##########
File path: airflow/providers/docker/operators/docker_swarm.py
##########
@@ -86,8 +86,16 @@ 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:
+        :param target: (str) - The target network for attachment. Can be a 
network name or ID.
+        :param aliases: (list) - A list of discoverable alternate names for 
the service.
+        :param options: (dict) - Driver attachment options for the network 
target.

Review comment:
       These can’t use `:param` since it does not support nesting (as far as I 
know). You need to use simple bullet points.




-- 
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]


Reply via email to