Skip to content
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

docs: Document defer task options #1907

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mjpieters
Copy link

  • Fix the defer_call JSON schema to include the vars mapping.
  • Update the schema reference documentation to cover defer: {task: ..., vars: {...}}.

- Fix the defer_call schema to include the `vars` mapping.
- Update the schema reference documentation to cover `defer: {task: ..., vars: {...}}`.
@mjpieters
Copy link
Author

mjpieters commented Nov 5, 2024

Do let me know if #1879 is likely to be accepted, as that would require updates to this PR (we can then simplify the JSON schema to use "anyOf": [{"type": "string"},{"$ref": "#/definitions/task_call"}], and we could retool [`Dependency`](#dependency) in the schema reference documentation to work for both dependencies and deferred tasks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant