Skip to content

Commit f1645f9

Browse files
authored
Add context to openapi spec for Run to align with type (#2020)
Signed-off-by: Sam Holmberg <sam@holmberg.dev>
1 parent f68b510 commit f1645f9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

spec/openapi.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,10 @@ components:
15691569
type: array
15701570
items:
15711571
$ref: '#/components/schemas/DatasetVersionId'
1572+
context:
1573+
description: A key/value pair that must be of type `string`. A context can be used for getting additional details about the job.
1574+
type: object
1575+
deprecated: true
15721576
facets:
15731577
$ref: '#/components/schemas/RunFacets'
15741578
example:
@@ -1582,6 +1586,7 @@ components:
15821586
endedAt: 2019-05-09T20:05:46.815920Z
15831587
durationMs: 4250894125
15841588
args: {'email': 'me@example.com', 'emailOnFailure': 'false', 'emailOnRetry': 'true', 'retries': '1'}
1589+
context: {'SQL': "SELECT * FROM mytable;"}
15851590
facets: {}
15861591

15871592
RunList:

0 commit comments

Comments
 (0)