Browse Source

[events] Docstring for Receiver domains argument

Ask Solem 12 years ago
parent
commit
2e0fc9e2aa
1 changed files with 4 additions and 0 deletions
  1. 4 0
      celery/events/__init__.py

+ 4 - 0
celery/events/__init__.py

@@ -60,6 +60,10 @@ class EventDispatcher(object):
     :keyword hostname: Hostname to identify ourselves as,
     :keyword hostname: Hostname to identify ourselves as,
         by default uses the hostname returned by :func:`socket.gethostname`.
         by default uses the hostname returned by :func:`socket.gethostname`.
 
 
+    :keyword domains: List of domains to send events for.  :meth:`send` will
+        ignore send requests to domains not in this list.
+        If this is :const:`None`, all events will be sent.
+
     :keyword enabled: Set to :const:`False` to not actually publish any events,
     :keyword enabled: Set to :const:`False` to not actually publish any events,
         making :meth:`send` a noop operation.
         making :meth:`send` a noop operation.