Skip to content

Commit

Permalink
fix(typing): Add patch for vl-convert-python=1.7.0
Browse files Browse the repository at this point in the history
Will open a new PR to merge this, related to vega/vl-convert#185
  • Loading branch information
dangotbanned committed Oct 6, 2024
1 parent db14314 commit aa00dc1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/generate_schema_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

if TYPE_CHECKING:
from tools.schemapi.codegen import ArgInfo, AttrGetter
from vl_convert import VegaThemes

SCHEMA_VERSION: Final = "v5.20.1"

Expand Down Expand Up @@ -482,8 +483,8 @@ def download_schemafile(


def _vega_lite_props_only(
themes: dict[str, dict[str, Any]], props: SchemaProperties, /
) -> Iterator[tuple[str, dict[str, Any]]]:
themes: dict[VegaThemes, dict[str, Any]], props: SchemaProperties, /
) -> Iterator[tuple[VegaThemes, dict[str, Any]]]:
"""Removes properties that are allowed in `Vega` but not `Vega-Lite` from theme definitions."""
keep = props.keys()
for name, theme_spec in themes.items():
Expand Down

0 comments on commit aa00dc1

Please sign in to comment.