Issue when submitting the assignment

I performed the whole assignment without any errors, but when I submitting the assignment there rises issue in function that is the specific file path (‘_pipeline_root’) is not defined, i have already pass the path in context.

If your notebook doesn’t fall under any of these conditions, please click my name and message your notebook as an attachment:

  1. If Grader metadata is missing in your notebook, follow these steps to refresh your workspace
  2. To grade a partial submission, use # grade-up-to-here as shown here

i get an second error that is-:
[snippet removed by mentor]

Failed test case: get_records has incorrect type.
Expected:
typing.Callable,
but got:
<class ‘NoneType’>

Posting code in a public topic is discouraged. It’s okay to share stacktrace on a public post and send code to a mentor via direct message. Please clean up the post.

Edit: Please remove # grade-up-to-here tag for grading a complete notebook.