Janick Spirig
09/04/2024, 5:33 PMpandas.GBQTableDataset
as I want the table schema to be generated automatically based on a polars DF.
One challenge that I am facing is that GBQTableDataset expects a kwarg `dataset`, however in the catalog I want to use kwarg
dataset to point kedro to the location of my custom dataset class. I have tried to rename the original kwarg dataset
to gbq_dataset
extend pandas.GBQTableDataset
and then do super().__init__(dataset=gbq_dataset)
However construction then fails with GBQTableDataset.__init__() got an unexpected keyword argument 'gbq_dataset'
In this specific case, how can I point kedro to my custom dataset class while maintaining the original dataset
parameter?Jitendra Gundaniya
09/04/2024, 5:41 PMJanick Spirig
09/04/2024, 5:42 PMJanick Spirig
09/04/2024, 5:42 PMtype:
in the catalog pointing to my custom datasetJitendra Gundaniya
09/04/2024, 5:44 PMdefineDoes this solve your problem ?in the catalog pointing to my custom datasettype:
Janick Spirig
09/04/2024, 5:44 PMJanick Spirig
09/04/2024, 7:59 PM