Skip to content

feat(typing): Generate Literal aliases in channels overload(s) - #3535

Merged
binste merged 3 commits into
vega:mainfrom
dangotbanned:typing-more-literals
Aug 13, 2024
Merged

binste merged 3 commits into
vega:mainfrom
dangotbanned:typing-more-literals

Conversation

@dangotbanned

@dangotbanned dangotbanned commented Aug 12, 2024 •

Copy link
Copy Markdown
Member

Related

Description

Discovered this while working on a larger refactoring to support #3519 (comment) in #3536

This change alone though is very minor, but has a nice -6k to lines of code

@binste binste left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I really like that you keep reducing the file sizes significantly! Apart from overall readability, it also reduces the size of the wheel file which is nice for pyodide. Altair 5.3.0 was 850KB and 5.4.0 only 650KB :)

@binste
binste merged commit cfab660 into vega:main Aug 13, 2024
@dangotbanned
dangotbanned deleted the typing-more-literals branch August 13, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants