-
For our data apps we want to have to have data loaders that triggers long-running operations, e.g., Databricks jobs, Snowflake queries and DuckDB running on some container somewhere. They way we have structured the project for now is to have each data loader be a separate DAB / Python project that contains all the code and dependencies in one location, so for
The file
The data loader itself w = WorkspaceClient(profile='security')
# trigger the job above and wait 🤷🏻
run = w.jobs.run_now_and_wait(
job_id=169185052009282,
)
t = read_table(path="observable/azure_applications", container="playground")
write_dataframe_to_stdout(t) However, when I do this the build automatically generates a lot of incorrect pages. For example, each We can ignore or get rid of the nested I am also wondering where in the CI/CD pipeline we should trigger these Databricks jobs? 🤔 Any advice on this would be much appreciated! 🙇🏻 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Perhaps we should add support for a The current list of pages is generated here: Lines 212 to 213 in 82412a4 The required top-level Line 60 in 82412a4 |
Beta Was this translation helpful? Give feedback.
Perhaps we should add support for a
.observablehqignore
file that allows you to ignore any pages within.venv
? Or perhaps we should ignore all subdirectories insrc
that start with.
by default?The current list of pages is generated here:
framework/src/config.ts
Lines 212 to 213 in 82412a4
The required top-level
/index
page is further added here:framework/src/pager.ts
Line 60 in 82412a4