Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: doc_type and signals #3

Merged
merged 1 commit into from Jan 15, 2016

Conversation

jirikuncar
Copy link
Member

Signed-off-by: Jiri Kuncar jiri.kuncar@cern.ch

@jirikuncar jirikuncar added this to the v1.0 milestone Jan 13, 2016
@jirikuncar jirikuncar self-assigned this Jan 13, 2016
@jirikuncar jirikuncar force-pushed the signal-processor branch 2 times, most recently from 34a383e to 6f2d7c2 Compare January 13, 2016 09:00
@jirikuncar jirikuncar assigned lnielsen and unassigned jirikuncar Jan 13, 2016
class Producer(KombuProducer):
"""Producer validating published messages."""

def publish(self, data, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it perhaps be better force the signature to publish(id, op, index, doctype) to make the API more rigid? Just thinking that if we expose the create_producer() as part of the API, then there's quite a chance to pass something wrong into the queue.

@lnielsen
Copy link
Member

Add a (closes #1) to commit message.

* Moves signal handler for `models_commited`  from Invenio-Search.
  (closes inveniosoftware#1)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
@jirikuncar jirikuncar assigned lnielsen and unassigned jirikuncar Jan 14, 2016
@lnielsen lnielsen merged commit 9bb3289 into inveniosoftware:master Jan 15, 2016
@jirikuncar jirikuncar deleted the signal-processor branch January 15, 2016 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants