|
data = {"executionData": {"parameters": job_params}} if job_params else {} |
In current implementation, when calling a Fabric item, it's always nested in "parameters", which severely limits the amount of customization on the API call to run a Fabric item. For example, if we wanted to run an SJD with custom command line args, we would not be able to do that as that requires different syntax inside executionData, as shown here. Same for notebooks,we don't have the ability to set other configs like environments or default lakehouses.
Maybe allow for users to pass their own custom executionData json object instead of just parameters?