You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would really helpful if we could get information about the controller as can be done with juju show-controller. Currently, it is not possible to get such data using libjuju.
There is info function in the controller, but that returns a different output. I previously reported it as bug #795, but after discussion I found out that `controller.info' is not suitable for this and it's designed to return info about connection to controller.
Urgency
Casually wishlisting
Code I'd Like to Run
importasynciofromjuju.controllerimportControllerasyncdefget_info():
controller=Controller()
awaitcontroller.connect()
info=awaitcontroller.show_controller()
print(info) # this should provide same info as `juju show-controller <name>`asyncio.run(get_info())
The text was updated successfully, but these errors were encountered:
This issue is marked as incomplete because it has been open 30 days with no activity. Please remove incomplete label or comment or this will be closed in 5 days.
Description
It would really helpful if we could get information about the controller as can be done with
juju show-controller
. Currently, it is not possible to get such data using libjuju.There is info function in the controller, but that returns a different output. I previously reported it as bug #795, but after discussion I found out that `controller.info' is not suitable for this and it's designed to return info about connection to controller.
Urgency
Casually wishlisting
Code I'd Like to Run
The text was updated successfully, but these errors were encountered: