ansible / ansible-runner

A tool and python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported. The goal is to provide a stable and consistent interface abstraction to Ansible.
Other
969 stars 357 forks source link

Add type hints to utils/__init__.py #1294

Closed Shrews closed 1 year ago

Shrews commented 1 year ago

Adds type hints to all code in utils/__init__.py.

Slight modifications were needed to the dump_artifact() and sanitize_json_response() functions to satisfy mypy errors.