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

Fix: Add context to openapi spec for Run to align with type #2020

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions spec/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,10 @@ components:
type: array
items:
$ref: '#/components/schemas/DatasetVersionId'
context:
description: A key/value pair that must be of type `string`. A context can be used for getting additional details about the job.
type: object
deprecated: true
facets:
$ref: '#/components/schemas/RunFacets'
example:
Expand All @@ -1582,6 +1586,7 @@ components:
endedAt: 2019-05-09T20:05:46.815920Z
durationMs: 4250894125
args: {'email': 'me@example.com', 'emailOnFailure': 'false', 'emailOnRetry': 'true', 'retries': '1'}
context: {'SQL': "SELECT * FROM mytable;"}
facets: {}

RunList:
Expand Down