dlt.sources._single_file_templates.fruitshop_pipeline
The Default Pipeline Template provides a simple starting point for your dlt pipeline with locally generated data
customers
@dlt.resource(primary_key="id", columns={"name": {"x-annotation-pii": True}})
def customers()
Load customer data from three cities from a simple python list.
inventory_categories
@dlt.resource(primary_key="id")
def inventory_categories()
Load inventory categories from a simple python list.
inventory
@dlt.resource(primary_key="id")
def inventory()
Load inventory data from a simple python list.
purchases
@dlt.resource(primary_key="id")
def purchases()
Generate 100 seeded random purchases between Mon. Oct 1 and Sun. Oct 14, 2018.
fruitshop
@dlt.source
def fruitshop()
A source function groups all resources into one schema.