Example #1
0
 def get_db_connector(self):
     if not self._db_connector:
         self._db_connector = connector.get(self.db_connector)
         if self.data_source:
             self._db_connector = self._db_connector.with_data_source(
                 self.data_source)
     return self._db_connector
Example #2
0
 def validate_config(self):
     super().validate_config()
     self.env_manager.get_connector_by_key(self.infa_cmd_connector_key)
     connector.get(self.infa_repo_db_connector_key)
Example #3
0
 def get_spark_connector(self):
     return connector.get(self.spark_connector)