def METHOD_NAME(self, context, timeline_item, **data):
    hero_track = data.get("heroTrack")
    hierarchy_data = data.get("hierarchyData")
    if not hero_track:
        return
    if not hierarchy_data:
        return
    asset = data["asset"]
    subset = "shotMain"
    # insert family into families
    family = "shot"
    data.update({
        "name": "{} {} {}".format(asset, subset, family),
        "subset": subset,
        "asset": asset,
        "family": family,
        "families": [],
        "publish": get_publish_attribute(timeline_item)
    })
    context.create_instance(**data)