When building extensions like pyblish-ftrack
and pyblish-deadline
we rely on certain data to be present, like deadlineData
and ftrackData
.
With the latest update (coming soon) to pyblish-deadline
instead of relying on the data member deadlineData
to be present, we are relying on families which is more Pyblishic. The extension though is still depending on certain data to be present, and so you have to make sure that both the family and the data member (deadlineData
) is present.
What if the family item could hold data as well?
Since the instance is processed based on families, the data would be in the “right” place like; instance.data["families"]["deadline"]["some_data"]
.
This is a very spontaneous brainwave, and might very well be fundamentally flawed but thought I would throw it out there.