Skip to content

Conversation

@RickyDaMa
Copy link
Member

@RickyDaMa RickyDaMa commented Nov 21, 2025

Interally we've found this field too error-prone and not ultimately necessary when you can just re-order axes within the file.


First two commits mark the field as deprecated, suitable for a v1.1.1 patch release, before then removing the field entirely for a v2 breaking change

@RickyDaMa RickyDaMa requested a review from madig November 21, 2025 15:31
@RickyDaMa RickyDaMa self-assigned this Nov 21, 2025
@RickyDaMa RickyDaMa marked this pull request as ready for review November 21, 2025 15:55
) -> "Stylespace":
"""Construct Stylespace from unstructured dict data."""

def axis_hook(data: dict[str, Any], cls: type[Axis]) -> Axis:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not fixed by from __future__ import annotations?

Copy link
Member Author

Choose a reason for hiding this comment

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

Could have been, but this is more in-keeping with the existing code style. I'll probably squash away that commit entirely

@RickyDaMa RickyDaMa force-pushed the remove-axis-ordering branch from 627dad9 to 20393b8 Compare November 21, 2025 17:31
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