Skip to content

Commit

Permalink
Merge branch 'remove-dramatiq'
Browse files Browse the repository at this point in the history
  • Loading branch information
epandurski committed Jul 19, 2022
2 parents ebf8975 + 403a8a4 commit 240889e
Show file tree
Hide file tree
Showing 14 changed files with 519 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((python-mode
(eval venv-workon "flask_signalbus")))
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
max-line-length = 120
exclude = .git, __pycache, migrations
ignore = E126,B003,Q001,A003,W503
1 change: 1 addition & 0 deletions .flake8rc
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

Version 0.5.8
-------------

- Added a `flask_signalbus.rabbitmq` utility module.


Version 0.5.7
-------------

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
# built documents.
#
# The short X.Y version.
version = '0.5.7'
version = '0.5.8'
# The full version, including alpha/beta/rc tags.
release = '0.5.7'
release = '0.5.8'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -138,7 +138,7 @@
# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#
# html_title = 'Flask-SignalBus v0.5.7'
# html_title = 'Flask-SignalBus v0.5.8'

# A shorter title for the navigation bar. Default is the same as html_title.
#
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,4 @@ Contents:

cli
api
rabbitmq
35 changes: 35 additions & 0 deletions docs/rabbitmq.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
``rabbitmq`` module
===================

.. module:: flask_signalbus.rabbitmq

This module contains utilities for processing RabbitMQ messages.


Classes
```````

.. autoclass:: Publisher
:members:

.. autoclass:: Message
:members:

.. autoclass:: MessageProperties
:members:


Exceptions
``````````

.. autoclass:: DeliveryError
:members:
:show-inheritance:

.. autoclass:: ConnectionError
:members:
:show-inheritance:

.. autoclass:: TimeoutError
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions flask_signalbus/rabbitmq/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from .publisher import ( # noqa: F401
Publisher,
Message,
MessageProperties,
DeliveryError,
ConnectionError,
TimeoutError,
)

0 comments on commit 240889e

Please sign in to comment.