Getting Started with the f5-common-python SDK
If you have dabbled with python and iControl over the years, you might be familiar with some of my other “Getting Stared with …” articles on python libraries. I started my last, on Bigsuds, this way:...
Updated Jun 06, 2023
Version 2.0JRahm
Admin
Joined January 20, 2005
JRahm
Mar 14, 2018Admin
We try to make sure the methods themselves are "dumb" and do what the interface intends, and fix some methods that are out of standard from other normal behaviors. Stats were changed from 11.6 - 12.0 pretty significantly, and whereas the Stats utility isn't as robust as it should be yet, it allows us to honor the goals for methods while providing options for the nightmare you posted.
That said, feel free to open an issue on GitHub for stats object kinds and suggested options on how to handle that and we'll discuss.
Maybe an alternative in the load method is to pass a kwarg for Stats, or just an alternative load method called load_stats()?