Shopify / pyoozie

Library for querying and scheduling with Apache Oozie
https://py-oozie.readthedocs.io
MIT License
11 stars 12 forks source link

Add types to pyoozie.tags #29

Closed cfournie closed 7 years ago

cfournie commented 7 years ago

This PR beings to add type hinting to pyoozie by:

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).