Adding a make type target to speed up testing; and
Adds type annotations to pyoozie.tags.
During that, a return type change was made: XML output is returned as UTF-8 encoded bytes and not unicode strings. pyoozie.client.jobs_submit_coordinator and pyoozie.client.jobs_submit_workflow, which both XML output in HTTP POST bodies to Oozie were tested against Oozie 4.1.0 to ensure that they still submit data correctly (which uncovered an issue reading non-ASCII coordinator configurations shown in https://github.com/Shopify/pyoozie/pull/31).
This PR beings to add type hinting to pyoozie by:
make type
target to speed up testing; andpyoozie.tags
.During that, a return type change was made: XML output is returned as UTF-8 encoded bytes and not unicode strings.
pyoozie.client.jobs_submit_coordinator
andpyoozie.client.jobs_submit_workflow
, which both XML output in HTTP POST bodies to Oozie were tested against Oozie 4.1.0 to ensure that they still submit data correctly (which uncovered an issue reading non-ASCII coordinator configurations shown in https://github.com/Shopify/pyoozie/pull/31).