Skip to content

Commit

Permalink
Merge pull request #145 from databrickslabs/issue_135
Browse files Browse the repository at this point in the history
Added comments for apply_Changes from snapshot notebook
  • Loading branch information
ravi-databricks authored Feb 10, 2025
2 parents bd5211c + 96c549d commit c1d2458
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/dlt_meta_pipeline_apply_changes_from_snapshot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
" return False\n",
"\n",
"# Returns the next snapshot and version number. If no snapshot is available, returns None\n",
"# You can write your own logic to determine the next snapshot and version number and pass this function to DataflowPipeline.invoke_dlt_pipeline method as a parameter\n",
"# You can write your own logic to determine the next snapshot and version number \n",
"# Pass this function to DataflowPipeline.invoke_dlt_pipeline method as a parameter\n",
"def next_snapshot_and_version(latest_snapshot_version, dataflow_spec):\n",
" latest_snapshot_version = latest_snapshot_version or 0\n",
" next_version = latest_snapshot_version + 1 \n",
Expand Down

0 comments on commit c1d2458

Please sign in to comment.