You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dd27159
Browse filesBrowse the repository at this point in the historyBrowse files
// These files are generated from ../../../schema/supervisor-schema.json, go-sdk's
23
+
// vendored copy of the supervisor wire-schema snapshot the Python Task SDK owns:
24
24
// models.gen.go holds the struct types, discriminators.gen.go the Type<Name>
25
25
// constants and EnsureType, defaults.gen.go the DecodeMsgpack methods that seed
26
26
// non-zero schema defaults. Don't edit them by hand; change the Pydantic models,
27
-
// let the generate-supervisor-schemas-snapshot prek hook refresh the snapshot,
28
-
// then re-run `just generate-models` (go generate).
27
+
// let the generate-supervisor-schemas-snapshot prek hook refresh the snapshot and
28
+
// sync-go-sdk-schemas refresh the vendored copy, then re-run `just generate-models`
29
+
// (go generate).
29
30
//
30
31
// go generate runs go-jsonschema, then the local gen tool, which strips
31
32
// go-jsonschema's dead anyOf-branch typedefs, widens concrete int/float/bool
@@ -35,5 +36,5 @@
35
36
// discriminators.gen.go and defaults.gen.go.
36
37
package genmodels
37
38
38
-
//go:generate go run github.com/atombender/go-jsonschema@v0.23.1 --only-models --struct-name-from-title --tags msgpack --capitalization ID --capitalization URI --capitalization TI -p genmodels -o models.gen.go ../../../../task-sdk/src/airflow/sdk/execution_time/schema/schema.json
39
-
//go:generate go run ./gen -schema ../../../../task-sdk/src/airflow/sdk/execution_time/schema/schema.json -models models.gen.go -out discriminators.gen.go -defaults defaults.gen.go
39
+
//go:generate go run github.com/atombender/go-jsonschema@v0.23.1 --only-models --struct-name-from-title --tags msgpack --capitalization ID --capitalization URI --capitalization TI -p genmodels -o models.gen.go ../../../schema/supervisor-schema.json
40
+
//go:generate go run ./gen -schema ../../../schema/supervisor-schema.json -models models.gen.go -out discriminators.gen.go -defaults defaults.gen.go
0 commit comments