Skip to content

Commit

Permalink
Merge pull request #22 from unfoldingWord-dev/develop
Browse files Browse the repository at this point in the history
Minor updates
  • Loading branch information
RobH123 committed Dec 3, 2019
2 parents b6d96e5 + 4c22876 commit c27d19f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions tXenqueue/check_posted_tx_payload.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# This code adapted by RJH Sept 2018 from door43-enqueue-job
# and from tx-manager/client_webhook/ClientWebhookHandler

# Local imports
from typing import Dict, Tuple, Any

from tx_enqueue_helpers import get_gogs_user


Expand All @@ -26,7 +27,7 @@
KNOWN_OUTPUT_FORMATS = 'docx', 'html', 'pdf',


def check_posted_tx_payload(request, logger):
def check_posted_tx_payload(request, logger) -> Tuple[bool, Dict[str,Any]]:
"""
Accepts POSTed conversion request.
Parameter is a rq request object
Expand Down
3 changes: 1 addition & 2 deletions tXenqueue/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# To handle packaging error 7 Oct 2019
# when attrs removed deprecated attribute 'convert' used by gogs_client
# Why do we only need this on tx-enqueue (and not door43-job-handler)???
attrs==19.1.0

Flask==1.1.1
rq==1.1.0
gunicorn==19.9.0
gunicorn==20.0.4
statsd==3.3.0
watchtower==0.7.3
gogs_client==1.0.6

0 comments on commit c27d19f

Please sign in to comment.