|
|
|
@ -7,20 +7,20 @@ class ProjectContext(KedroContext):
|
|
|
|
project_version = "0.1"
|
|
|
|
project_version = "0.1"
|
|
|
|
package_name = "actes_princiers"
|
|
|
|
package_name = "actes_princiers"
|
|
|
|
|
|
|
|
|
|
|
|
def get_params(self):
|
|
|
|
# def get_params(self):
|
|
|
|
houses = self.config_loader.get("params*")
|
|
|
|
# houses = self.config_loader.get("params*")
|
|
|
|
return params
|
|
|
|
# return params
|
|
|
|
|
|
|
|
|
|
|
|
def get_houses(self):
|
|
|
|
# def get_houses(self):
|
|
|
|
"""loading from generic configuration file
|
|
|
|
# """loading from generic configuration file
|
|
|
|
(that is, the global houses `houses.yaml`)"""
|
|
|
|
# (that is, the global houses `houses.yaml`)"""
|
|
|
|
houses = self.config_loader.get("houses*")
|
|
|
|
# houses = self.config_loader.get("houses*")
|
|
|
|
return houses['houses']
|
|
|
|
# return houses['houses']
|
|
|
|
|
|
|
|
|
|
|
|
def get_houses_datapath(self):
|
|
|
|
# def get_houses_datapath(self):
|
|
|
|
"""loading from generic configuration file"""
|
|
|
|
# """loading from generic configuration file"""
|
|
|
|
houses = self.config_loader.get("houses*")
|
|
|
|
# houses = self.config_loader.get("houses*")
|
|
|
|
return houses['raw_datapath']
|
|
|
|
# return houses['raw_datapath']
|
|
|
|
|
|
|
|
|
|
|
|
# def get_catalog(self):
|
|
|
|
# def get_catalog(self):
|
|
|
|
# "catalog loader entry point"
|
|
|
|
# "catalog loader entry point"
|
|
|
|
|