def METHOD_NAME(client, flow_name, data_resource, engine):
    table_artifact = extract(data_resource, DataObject.SENTIMENT)
    metric_artifact = constant_metric(table_artifact)
    publish_flow_test(
        client,
        name=flow_name(),
        artifacts=[table_artifact, metric_artifact],
        engine=engine,
    )