Skip to content

Commit

Permalink
build: Make new additions to api private
Browse files Browse the repository at this point in the history
Believe these should be public, but it seems like the issue at build-time is that I'd be extending the public API.
  • Loading branch information
dangotbanned committed May 13, 2024
1 parent 32010bb commit 14bd0e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4096,12 +4096,12 @@ def sphere() -> core.SphereGenerator:
return core.SphereGenerator(sphere=True)


ChartType = Union[
_ChartType = Union[
Chart, RepeatChart, ConcatChart, HConcatChart, VConcatChart, FacetChart, LayerChart
]


def is_chart_type(obj: Any) -> TypeIs[ChartType]:
def _is_chart_type(obj: Any) -> TypeIs[_ChartType]:
"""Return `True` if the object is basic or compound `Chart`."""
return isinstance(
obj,
Expand Down

0 comments on commit 14bd0e6

Please sign in to comment.