cloudera-labs / cdpy

A Simple Pythonic Client wrapper for Cloudera CDP CLI, designed for use with the Ansible framework
Apache License 2.0
10 stars 22 forks source link

Wait for state fails if 'field' is None #7

Closed wmudge closed 3 years ago

wmudge commented 3 years ago

https://github.com/cloudera-labs/cdpy/blob/f8a6aad49a57577996a4ff98e97b4cf6a3ec3056/src/cdpy/common.py#L368

_get_path errors when field is None, as it is not iterable. However, docs direct you to use None if waiting for delete state.