Skip to content

genie_spaces: Stop allowing Sequence types for serialized_space - #6491

Merged
janniklasrose merged 1 commit into
mainfrom
janniklasrose/geniespaces-drop-Sequence
Sep 3, 2026
Merged

genie_spaces: Stop allowing Sequence types for serialized_space#6491
janniklasrose merged 1 commit into
mainfrom
janniklasrose/geniespaces-drop-Sequence

Conversation

@janniklasrose

@janniklasrose janniklasrose commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Changes

Stop allowing Sequence types for serialized_space

Why

While these are valid JSON, they are meaningless and the genie API rejects them anyway

Tests

Unit tests

The genie spaces backend doesn't accept arrays:

% databricks genie update-space <space-id> --serialized-space '[{}]'
Error: Invalid JSON in field 'serialized_space': Expected an object, not an array (line 1)

@janniklasrose
janniklasrose added this pull request to the merge queue Sep 3, 2026
Merged via the queue into main with commit 9ef7f4b Sep 3, 2026
34 checks passed
@janniklasrose
janniklasrose deleted the janniklasrose/geniespaces-drop-Sequence branch September 3, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants