It's too awkward, and it makes more sense to return None instead.
Python library that backs the provided awx command line client.
awx
For more information on installing the CLI and building the docs on how to use it, look here.