Skip to content

Make _RendererDispatcher fully generic#265

Merged
frostming merged 2 commits into
frostming:masterfrom
absolutely-vivid:generic-render-dispatch
May 28, 2026
Merged

Make _RendererDispatcher fully generic#265
frostming merged 2 commits into
frostming:masterfrom
absolutely-vivid:generic-render-dispatch

Conversation

@absolutely-vivid
Copy link
Copy Markdown
Contributor

By making _RendererDispatcher and the RendererFunc type fully generic, the render_dispatch decorator can be strongly typed. This eliminates mypy typing errors on method using render_dispatch or _RendererDispatcher, provided the method is correctly typed.

By making _RendererDispatcher and the RendererFunc type fully generic,
the render_dispatch decorator can be strongly typed. This eliminates mypy
typing errors on method using render_dispatch or _RendererDispatcher,
provided the method is correctly typed.
@absolutely-vivid absolutely-vivid force-pushed the generic-render-dispatch branch from 4c7219b to b084b05 Compare May 27, 2026 23:25
@frostming frostming merged commit e5fa135 into frostming:master May 28, 2026
19 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.

2 participants