Skip to content

Mnt/param backends - #32624

Draft
tacaswell wants to merge 19 commits into
matplotlib:mainfrom
tacaswell:mnt/param_backends
Draft

tacaswell wants to merge 19 commits into
matplotlib:mainfrom
tacaswell:mnt/param_backends

Conversation

@tacaswell

Copy link
Copy Markdown
Member

This is a big 🦜 aided PR to add typing to the backends.

I am not done (plan to squash this down to a smaller number of commits to remove the thrashing).

This will be used to support narrowing the types of components in
various backends.

Assisted-by: opencode:claude-sonnet-4-6
Assisted-by: opencode:claude-opus-4-8
Assisted-by: opencode:claude-sonnet-4-6
Supports both list and tuple (and any sequence) which will
make type hinting easier in the coming commits

Assisted-by: opencode:claude-sonnet-4-6
Assisted-by: opencode:claude-opus-4-8
This is fine, just ignore it

Assisted-by: opencode:claude-sonnet-4-6
This lets stubtest pass on the tk backend

Assisted-by: opencode:claude-sonnet-4-6
Assisted-by: opencode:claude-sonnet-4-6
Will help stubtest pass

Assisted-by: opencode:claude-sonnet-4-6
Also remove deprecated attributes from pyi

Assisted-by: opencode:claude-sonnet-4-6
Assisted-by: opencode:claude-sonnet-4-6
Assisted-by: opencode:claude-sonnet-4-6
Assisted-by: opencode:claude-sonnet-4-6
Assisted-by: opencode:claude-opus-4-8
We have to ignore the backend py files still because we are in general missing
the GUI backend dependencies so runtime checking will fail.

Assisted-by: opencode:claude-sonnet-4-6
Change to pyi by hand from resolving conflicts (this was already mostly fixed
on main) 🦜 did testing and prek config.

The metadata keys in the pdf backend can be `None` to mean "ablate this
key" (done by hand).

Assisted-by: opencode:gpt-5.6-sol
Assisted-by: opencode:claude-opus-4-8
Assisted-by: opencode:claude-fable-5

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment