Upgrade from 1.43.0 to 1.44.0
New genvid-sdk
Package
We added the genvid-sdk
package, which is installed along with the
genvid-toolbox
as part of the SDK. This is the new home of the
genvid-sdk command.
It also provides the genvid.sdk
module, which contains new classes
replacing now-deprecated classes with the same name in the genvid.toolbox
module:
New genvid.sdk
Events and Settings APIs
genvid.sdk.EventsAPI
and genvid.sdk.SettingsAPI
are
replacing the old methods from genvid.toolbox.ClusterAPI
. These new
classes follow the change in implementation of the Events and
Settings APIs.
To upgrade your code, create a new class by passing the Cluster API instance to its constructor. For example, if you have:
events = clusterAPI.get_events_def()
settings = clusterAPI.get_settings()
It becomes:
eventsAPI = EventsAPI(clusterAPI)
events = eventsAPI.get_events_def()
settingsAPI = SettingsAPI(clusterAPI)
settings = settingsAPI.get_settings()