Bugs in data-engineer-learning-path-v1-0-0-notebooks.dbc

h_aloha
New Contributor III

Error message returned in DE 4.1 - DLT UI Walkthrough

Cmd 6:

pipeline_language = "SQL"

# pipeline_language = "Python"

DA.print_pipeline_config(pipeline_language)

Error:

AttributeError: 'DBAcademyHelper' object has no attribute 'get_username_hash'

---------------------------------------------------------------------------

AttributeError Traceback (most recent call last)

<command-2690867264413541> in <cell line: 4>()

2 # pipeline_language = "Python"

3

----> 4 DA.print_pipeline_config(pipeline_language)

<command-2690867264410967> in print_pipeline_config(self, language)

4 Renders the configuration of the pipeline as HTML

5 """

----> 6 config = self.get_pipeline_config(language)

7

8 width = "600px"

<command-2690867264410966> in get_pipeline_config(self, language)

7 base_path = "/".join(base_path.split("/")[:-1])

8

----> 9 da_name, da_hash = DA.get_username_hash()

10 pipeline_name = f"da-{da_name}-{da_hash}-{self.course_code.lower()}"

11 if DA.clean_lesson is not None: pipeline_name += f"-{DA.clean_lesson}"