[FEATURE]: Detect notebook include graph by analysing dbutils.notebook.run(...)
calls
#1200
Closed
1 task done
Labels
migrate/code
Abstract Syntax Trees and other dark magic
Is there an existing issue for this?
Problem statement
From https://docs.databricks.com/en/notebooks/notebook-workflows.html:
The dbutils.notebook API is a complement to %run because it lets you pass parameters to and return values from a notebook. This allows you to build complex workflows and pipelines with dependencies. For example, you can get a list of files in a directory and pass the names to another notebook, which is not possible with %run. You can also create if-then-else workflows based on return values or call other notebooks using relative paths. Unlike %run, the dbutils.notebook.run() method starts a new job to run the notebook. These methods, like all of the dbutils APIs, are available only in Python and Scala. However, you can use dbutils.notebook.run() to invoke an R notebook.
Proposed Solution
Scan Python code for
dbutils.notebook.run(...)
calls and treat them like a dependencyAdditional Context
No response
The text was updated successfully, but these errors were encountered: