LLM-Engineers-Handbook / pipelines /digital_data_etl.py
purpleriann's picture
Upload folder using huggingface_hub
a22e84b verified
raw
history blame contribute delete
296 Bytes
from zenml import pipeline
from steps.etl import crawl_links, get_or_create_user
@pipeline
def digital_data_etl(user_full_name: str, links: list[str]) -> str:
user = get_or_create_user(user_full_name)
last_step = crawl_links(user=user, links=links)
return last_step.invocation_id