1+ .. include :: global.rst
2+
13API Reference
24=============
35
@@ -53,18 +55,21 @@ Brokers
5355.. autoclass :: Broker
5456 :members:
5557.. autoclass :: Consumer
56- :members: __iter__, __next__, ack, nack, close
58+ :members:
5759.. autoclass :: MessageProxy
5860 :members:
5961.. autoclass :: dramatiq.brokers.rabbitmq.RabbitmqBroker
6062 :members:
6163 :inherited-members:
64+ :show-inheritance:
6265.. autoclass :: dramatiq.brokers.redis.RedisBroker
6366 :members:
6467 :inherited-members:
68+ :show-inheritance:
6569.. autoclass :: dramatiq.brokers.stub.StubBroker
6670 :members:
6771 :inherited-members:
72+ :show-inheritance:
6873
6974
7075Middleware
@@ -129,11 +134,16 @@ The class hierarchy for middleware exceptions:
129134 +-- dramatiq.middleware.TimeLimitExceeded
130135
131136
132- .. autoclass :: dramatiq.middleware.MiddlewareError
133- .. autoclass :: dramatiq.middleware.SkipMessage
134- .. autoclass :: dramatiq.middleware.Interrupt
135- .. autoclass :: dramatiq.middleware.TimeLimitExceeded
136- .. autoclass :: dramatiq.middleware.Shutdown
137+ .. autoexception :: dramatiq.middleware.MiddlewareError
138+ :show-inheritance:
139+ .. autoexception :: dramatiq.middleware.SkipMessage
140+ :show-inheritance:
141+ .. autoexception :: dramatiq.middleware.Interrupt
142+ :show-inheritance:
143+ .. autoexception :: dramatiq.middleware.TimeLimitExceeded
144+ :show-inheritance:
145+ .. autoexception :: dramatiq.middleware.Shutdown
146+ :show-inheritance:
137147
138148
139149Results
@@ -149,17 +159,18 @@ Results Middleware
149159^^^^^^^^^^^^^^^^^^
150160
151161.. autoclass :: dramatiq.results.Results
152- :members:
153- :exclude-members: actor_options, after_process_message, after_skip_message, after_nack
154162
155163Results Backends
156164^^^^^^^^^^^^^^^^
157165
158166.. autoclass :: dramatiq.results.ResultBackend
159167 :members:
160168.. autoclass :: dramatiq.results.backends.MemcachedBackend
169+ :show-inheritance:
161170.. autoclass :: dramatiq.results.backends.RedisBackend
171+ :show-inheritance:
162172.. autoclass :: dramatiq.results.backends.StubBackend
173+ :show-inheritance:
163174
164175
165176Rate Limiters
@@ -177,8 +188,11 @@ Rate limiter backends are used to store metadata about rate limits.
177188.. autoclass :: dramatiq.rate_limits.RateLimiterBackend
178189 :members:
179190.. autoclass :: dramatiq.rate_limits.backends.MemcachedBackend
191+ :show-inheritance:
180192.. autoclass :: dramatiq.rate_limits.backends.RedisBackend
193+ :show-inheritance:
181194.. autoclass :: dramatiq.rate_limits.backends.StubBackend
195+ :show-inheritance:
182196
183197
184198Limiters
@@ -187,8 +201,11 @@ Limiters
187201.. autoclass :: dramatiq.rate_limits.RateLimiter
188202 :members:
189203.. autoclass :: dramatiq.rate_limits.BucketRateLimiter
204+ :show-inheritance:
190205.. autoclass :: dramatiq.rate_limits.ConcurrentRateLimiter
206+ :show-inheritance:
191207.. autoclass :: dramatiq.rate_limits.WindowRateLimiter
208+ :show-inheritance:
192209
193210Barriers
194211^^^^^^^^
@@ -207,34 +224,48 @@ Workers
207224Errors
208225------
209226
210- .. autoclass :: DramatiqError
227+ .. autoexception :: DramatiqError
211228 :members:
212- .. autoclass :: BrokerError
229+ :show-inheritance:
230+ .. autoexception :: BrokerError
213231 :members:
214- .. autoclass :: DecodeError
232+ :show-inheritance:
233+ .. autoexception :: DecodeError
215234 :members:
216- .. autoclass :: ActorNotFound
235+ :show-inheritance:
236+ .. autoexception :: ActorNotFound
217237 :members:
218- .. autoclass :: QueueNotFound
238+ :show-inheritance:
239+ .. autoexception :: QueueNotFound
219240 :members:
220- .. autoclass :: ConnectionError
241+ :show-inheritance:
242+ .. autoexception :: ConnectionError
221243 :members:
222- .. autoclass :: ConnectionClosed
244+ :show-inheritance:
245+ .. autoexception :: ConnectionClosed
223246 :members:
224- .. autoclass :: ConnectionFailed
247+ :show-inheritance:
248+ .. autoexception :: ConnectionFailed
225249 :members:
226- .. autoclass :: RateLimitExceeded
250+ :show-inheritance:
251+ .. autoexception :: RateLimitExceeded
227252 :members:
228- .. autoclass :: Retry
253+ :show-inheritance:
254+ .. autoexception :: Retry
229255 :members:
230- .. autoclass :: dramatiq.results.ResultError
256+ :show-inheritance:
257+ .. autoexception :: dramatiq.results.ResultError
231258 :members:
232- .. autoclass :: dramatiq.results.ResultMissing
259+ :show-inheritance:
260+ .. autoexception :: dramatiq.results.ResultMissing
233261 :members:
234- .. autoclass :: dramatiq.results.ResultTimeout
262+ :show-inheritance:
263+ .. autoexception :: dramatiq.results.ResultTimeout
235264 :members:
236- .. autoclass :: dramatiq.results.ResultFailure
265+ :show-inheritance:
266+ .. autoexception :: dramatiq.results.ResultFailure
237267 :members:
268+ :show-inheritance:
238269
239270Environment Variables
240271---------------------
0 commit comments