How to add a custom data source
Learn how to wrap datasets from a custom data source.
To wrap data from any data source, create a custom resource class and inherit from the Vectice baseResource
class. Then create a _build_metadata()
and _fetch_data()
method to collect metadata from your custom data sources.
Custom resource example code
Below is a pre-built custom resource code example you could use to build your own data resource:
From this point, you can use your custom resource class to wrap data from any data source (i.e., Redshift, RDS, Snowflake, etc).
To learn how to log your dataset from your custom data source, view our How to log datasets guide.