Closed kmtaylor-github closed 7 years ago
Ping @cfournie
Argh! Using requests.json()
seems to appease python 3.3-3.5, but the error returned by 3.4+ doesn't match the documented one.
E assert 'No JSON object could be decoded' in '/home/travis/build/Shopify/pyoozie/pyoozie/oozie_client.py:143: pyoozie.exceptions.OozieCommunicationException: Expecting value: line 1 column 1 (char 0)'
E + where '/home/travis/build/Shopify/pyoozie/pyoozie/oozie_client.py:143: pyoozie.exceptions.OozieCommunicationException: Expecting value: line 1 column 1 (char 0)' = str(<ExceptionInfo OozieCommunicationException tblen=2>)
Digging deeper, the error is a ValueError
subclass JSONDecodeError
, but the message is not as expected.
Add an interface layer on top of the Oozie REST API to query, submit, and manage workflow/coordinator artifacts.