Setting table-specific configuration

Besides the basic configuration options, you can also define configuration for specific datalake tables:

parameters:
  datalakebundle:
    tables:
      customer.my_table:
        params:
          test_data_path: '/foo/bar'

Code of the customer/my_table.py notebook:

from logging import Logger
import daipe as dp

@dp.notebook_function(dp.table_params('customer.my_table').test_data_path)
def customers_table(test_data_path: str, logger: Logger):
    logger.info(f'Test data path: {test_data_path}')

The dp.table_params('customer.my_table') function call is a shortcut to using %datalakebundle.tables."customer.my_table".params% string parameter.