system.kanoa.shift.getPreviousShift(paramsDict)
Returns the current shift for the given parameters. paramsDict keys are optional
Parameters
paramsDict Dictionary
| - assetId | Integer | |
| - assetPath | String |
Returns
previousShiftData pyDataset
Example
previousShift = system.kanoa.shift.getPreviousShift({'assetId': 1})