-
Notifications
You must be signed in to change notification settings - Fork 2
Add documentation for disabling snapshots #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Few tiny nits in line.
artifacts.md
Outdated
|
||
|
||
## Disabling Snapshots on Artifacts | ||
By default, Aqueduct snapshots all artifact results during workflow runs. You can change this setting when [publishing the workflow](./workflows/creating-a-workflow.md), or call `.disable_snapshot()` or `.enable_snapshot()` on individual artifacts. For example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny nit: " when publishing the workflow by setting the disable_snapshots
flag to True
. You can also call .disable_snapshot()
:"
Then after the code snippet, add:
On an artifact that has had snapshotting disabled, you can call
enable_snapshot()
to reenable snapshots.
workflows/creating-a-workflow.md
Outdated
@@ -88,6 +88,7 @@ There are a few key arguments here, and we'll go through the one by one: | |||
* You're, of course, welcome to list out all of the data artifacts in your workflow, but we figured it would be easier to list the outputs you care about. | |||
* `schedule`: This tells us how often you'd like to run your workflow. If you leave this empty, no schedule will be set, and you can set a schedule that executes as quickly as every minute or as rarely as every month. (See [managing-workflow-schedules.md](managing-workflow-schedules.md "mention") for more details.) | |||
* `config`: This tells us which connected engine you'd like to run your workflow. If you leave this empty, the workflow will be executed by Aqueduct engine by default. We currently support Airflow, Kubernetes, and Lambda. | |||
* `disable_snapshots`: This tells us if we should store snapshots of intermediate results. This disables all snapshots NOT coming from parameters, metrics, or checks. Additionally, you can alternate this behavior on individual [artifacts](../artifacts.md) by calling `.disable_snapshot()` on the artifact. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This disables all snapshots except for parameter, metrics, or checks.
Instead of "alternate", let's use "toggle".
workflows/workflow-versions.md
Outdated
@@ -6,7 +6,7 @@ Workflows are versioned on every execution. You can see previous versions on by | |||
|
|||
On every execution, Aqueduct automatically captures the code that was executed as well as _all the data that was generated by the workflow_ -- this includes intermediary data artifacts that aren't explicitly saved by the workflow. Aqueduct captures this information on each workflow run in order to help debug workflows, both within an individual execution and across time.  | |||
|
|||
By default, the snapshots of intermediary data are stored on your local filesystem. **NOTE**: We are working on making this feature configurable. | |||
By default, the snapshots of intermediary data are stored on your local filesystem. You can alternate this settings when publishing the workflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alternate -> toggle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Few tiny nits in line.
GH failure due to server mismatch during release, confirmed low risk |
No description provided.