You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
#from typing import Dict
from kedro . framework . context import KedroContext
class ProjectContext ( KedroContext ) :
project_name = " actes princiers "
project_version = " 0.1 "
package_name = " actes_princiers "
def get_houses ( self ) :
""" loading from generic configuration file
(that is, the global houses `houses.yaml`) """
houses = self . config_loader . get ( " houses* " )
return houses [ ' houses ' ]
def get_houses_datapath ( self ) :
""" loading from generic configuration file """
houses = self . config_loader . get ( " houses* " )
return houses [ ' raw_datapath ' ]
# def _get_catalog(self, *args, **kwargs):
# "catalog loader entry point"
# # loading yaml defined catalogs
# catalog = super()._get_catalog(*args, **kwargs)
# # kedro.io.data_catalog.DataCatalog
# # adding data sets
# self.nodes_description = self._house_dataset_loader(catalog)
# return catalog