Version 3.3.0 RC2
Pre-release
Pre-release
- Added
get_byfunction to inventory API to return a single object by query. - Added
CumulocityAppclass to modulec8y_tk.appwhich allows working with Cumulocity interactively, e.g. in a
Jupyther notebook. It will deal with environment variables just like the other connection helpers but will also
ask interactively for missing info, e.g. a second factor with 2FA. It also integrates well with the
c8y-go-cli tool. - Added
c8y_tk.apppackages withSubscriptionListenerclass to ease development of multi_tenant microservices
which need to act on all subscribed tenants or on added/removed subscriptions alike. - Adding debug logs to base API as default urllib3 logs are not helpful for our purpose.
- Single and multi tenant applications now automatically set the
application_keyproperty from the standard
APPLICATION_KEYenvironment variable. - Added
get_countfunction toOperationsAPI. - Added
as_valuesparameter toget_allandselectfunctions of the Inventory, DeviceInventory,
DeviceGroupInventory, Events, Alarms, Users, Operations, and AuditRecords API. - Added code coverage reporting to
testtarget for invoke. - Updated
as_tuplefor complex objects as well as theas_valuesparameter forselect
andget_allfunctions to work with strings or 2-tuples. The use of a dictionary
was removed as dictionaries don't define an order. - Added
as_valuesparameter to the Measurements APIselectandget_allfunctions. - Adding
c8y_tk.analyticspackage withto_numpy,to_seriesandto_data_framefunctions to
ease incorporating Cumulocity data into standard analytics pipelines.