sgr icon indicating copy to clipboard operation
sgr copied to clipboard

splitgraph.yml generator: no lists for JSONSchema with `oneOf` with a single option

Open mildbyte opened this issue 2 years ago • 0 comments

If a schema has a oneOf with only a single option, there's no need to generate a list with multiple potential options to go into this oneOf: https://github.com/splitgraph/sgr/blob/bc7ea998a490f33f4502112ac92540974d547e8b/splitgraph/cloud/project/generation.py#L86

mildbyte avatar Aug 04 '22 12:08 mildbyte