get_routes() method for V3 AppManager is not included in release 1.13.0
alogishetty opened this issue · 2 comments
alogishetty commented
I am trying to use method get_routes
method in AppManager for v3 and I am receiving below error.
<class 'cloudfoundry_client.v3.entities.Entity'>
Traceback (most recent call last):
File "main.py", line 15, in <module>
print(json.dumps(app_manager.get_routes(
AttributeError: 'AppManager' object has no attribute 'get_routes'
When I did dir(client.v3.apps)
is wasn't able to find the attribute get_routes
, please see below
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_create', '_delete', '_entity', '_get', '_get_url_filtered', '_list', '_paginate', '_patch', '_post', '_put', '_read_response', '_remove', '_request', '_update', '_upload_bits', 'client', 'entity_type', 'entity_uri', 'get', 'get_env', 'get_first', 'list', 'remove', 'target_endpoint']
antechrestos commented
@alogishetty Sorry I forgot to push a fresh release with your work. 1.13.0 was done before I merged your work. I've just released 1.14 released that includes your work.
antechrestos commented
I've released 1.14.1 to upgrade PyYAML dependency as it was requested by another issue