Skip to content

Conversation

@kanterov
Copy link
Collaborator

@kanterov kanterov commented Apr 7, 2025

Changes

Remove one-ofs and default values until they become a part of the JSON schema.

Why

It allows full generating Python code from JSON schema without overrides and removes cases where bundle configuration can't be created as a Python object.

@kanterov kanterov marked this pull request as ready for review April 7, 2025 15:26
@kanterov kanterov temporarily deployed to test-trigger-is April 7, 2025 15:26 — with GitHub Actions Inactive
@kanterov kanterov mentioned this pull request Apr 7, 2025
"""

timezone_id: VariableOr[str] = "UTC"
pause_status: VariableOrOptional[PauseStatus] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious -- what triggered reordering?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required fields must come first. Previously the field was not required because it had a default value.

@kanterov kanterov added this pull request to the merge queue Apr 8, 2025
Merged via the queue into main with commit b8991ba Apr 8, 2025
15 checks passed
@kanterov kanterov deleted the remove-one-of branch April 8, 2025 11:52
kanterov added a commit that referenced this pull request Apr 8, 2025
## Changes
Remove one-ofs and default values until they become a part of the JSON
schema.

## Why
It allows full generating Python code from JSON schema without overrides
and removes cases where bundle configuration can't be created as a
Python object.
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.

3 participants