Skip to content

Bump schema_version to 1.2#476

Merged
loichuder merged 1 commit into
mainfrom
up-graph-version
Jul 1, 2026
Merged

Bump schema_version to 1.2#476
loichuder merged 1 commit into
mainfrom
up-graph-version

Conversation

@loichuder

Copy link
Copy Markdown
Member

Fix #456

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@loichuder
loichuder force-pushed the up-graph-version branch 2 times, most recently from 6b60237 to 47bb9d8 Compare July 1, 2026 06:44
Comment on lines +15 to +20
"""
v1.1 does not have the __ewoks_serialize__ field.
It does not support the following link attributes:
- `cache_if_not_required`
- `required` when set explicitly to `False`, ignoring graph analysis
"""

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I feel like this is not the greatest place to put the changes of the schema.

Should we create a CHANGELOG for the schema versions in the documentation?

@woutdenolf woutdenolf Jul 1, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Once the graph pydantic model is used we can probably do it in the pydantic model and perhaps generate the docs from that ... not sure.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Could be good yes, we'll see. For now, I'll create a new page in the doc.

save_graph(
graph, destination=tmp_path / f"{graph_name}.json", serializer=serializer
)
assert (tmp_path / f"{graph_name}.json").exists()

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I kept the test added in #444

@loichuder
loichuder requested a review from woutdenolf July 1, 2026 06:55

@woutdenolf woutdenolf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@loichuder
loichuder merged commit 87caef9 into main Jul 1, 2026
14 checks passed
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.

Bump graph version from 1.1 to 1.2

2 participants