@@ -41,21 +41,21 @@ type RunItem struct {
4141 Type string `json:"type,omitempty" yaml:"type"`
4242 ID string `json:"id,omitempty" yaml:"id"`
4343 Target string `json:"target,omitempty" yaml:"target"`
44- } `json:"mounts,omitempty" yaml:"mounts"`
44+ } `json:"mounts,omitempty" yaml:"mounts,omitempty "`
4545}
4646
4747type Build struct {
48- GPU bool `json:"gpu,omitempty" yaml:"gpu"`
48+ GPU bool `json:"gpu,omitempty" yaml:"gpu,omitempty "`
4949 PythonVersion string `json:"python_version,omitempty" yaml:"python_version"`
5050 PythonRequirements string `json:"python_requirements,omitempty" yaml:"python_requirements"`
51- PythonPackages []string `json:"python_packages,omitempty" yaml:"python_packages"` // Deprecated, but included for backwards compatibility
52- Run []RunItem `json:"run,omitempty" yaml:"run"`
53- SystemPackages []string `json:"system_packages,omitempty" yaml:"system_packages"`
54- PreInstall []string `json:"pre_install,omitempty" yaml:"pre_install"` // Deprecated, but included for backwards compatibility
55- CUDA string `json:"cuda,omitempty" yaml:"cuda"`
56- CuDNN string `json:"cudnn,omitempty" yaml:"cudnn"`
51+ PythonPackages []string `json:"python_packages,omitempty" yaml:"python_packages,omitempty "` // Deprecated, but included for backwards compatibility
52+ Run []RunItem `json:"run,omitempty" yaml:"run,omitempty "`
53+ SystemPackages []string `json:"system_packages,omitempty" yaml:"system_packages,omitempty "`
54+ PreInstall []string `json:"pre_install,omitempty" yaml:"pre_install,omitempty "` // Deprecated, but included for backwards compatibility
55+ CUDA string `json:"cuda,omitempty" yaml:"cuda,omitempty "`
56+ CuDNN string `json:"cudnn,omitempty" yaml:"cudnn,omitempty "`
5757 Fast bool `json:"fast,omitempty" yaml:"fast"`
58- PythonOverrides string `json:"python_overrides,omitempty" yaml:"python_overrides"`
58+ PythonOverrides string `json:"python_overrides,omitempty" yaml:"python_overrides,omitempty "`
5959
6060 pythonRequirementsContent []string
6161}
@@ -71,10 +71,10 @@ type Example struct {
7171
7272type Config struct {
7373 Build * Build `json:"build" yaml:"build"`
74- Image string `json:"image,omitempty" yaml:"image"`
74+ Image string `json:"image,omitempty" yaml:"image,omitempty "`
7575 Predict string `json:"predict,omitempty" yaml:"predict"`
76- Train string `json:"train,omitempty" yaml:"train"`
77- Concurrency * Concurrency `json:"concurrency,omitempty" yaml:"concurrency"`
76+ Train string `json:"train,omitempty" yaml:"train,omitempty "`
77+ Concurrency * Concurrency `json:"concurrency,omitempty" yaml:"concurrency,omitempty "`
7878}
7979
8080func DefaultConfig () * Config {
0 commit comments