Skip to content

Commit 844df4d

Browse files
committed
fix: revert accidental schema changes
In: ec06326#diff I refactored the schemas to use a description. I accidentally changed two keys (one Required->Optional, the other Optional->Required). This was supposed to be a doc only change, so let's revert them back to the way they were.
1 parent a82eb87 commit 844df4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/taskgraph/transforms/run/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
Extra: object,
154154
},
155155
Required("worker-type"): task_description_schema["worker-type"],
156-
Required(
156+
Optional(
157157
"worker",
158158
description=dedent(
159159
"""

src/taskgraph/transforms/run/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"""
9898
),
9999
): {str: object},
100-
Optional(
100+
Required(
101101
"workdir",
102102
description=dedent(
103103
"""

0 commit comments

Comments
 (0)