Skip to content

Commit

Permalink
Undo typing changes in realtime
Browse files Browse the repository at this point in the history
  • Loading branch information
hansthen committed Jun 2, 2024
1 parent c5ce381 commit 1f55089
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions folium/plugins/realtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

from folium.elements import JSCSSMixin
from folium.features import GeoJson
from folium.map import FeatureGroup
from folium.map import Layer
from folium.utilities import JsCode, camelize, parse_options


class Realtime(JSCSSMixin, FeatureGroup):
class Realtime(JSCSSMixin, Layer):
"""Put realtime data on a Leaflet map: live tracking GPS units,
sensor data or just about anything.
Expand Down Expand Up @@ -109,7 +109,7 @@ def __init__(
get_feature_id: Union[JsCode, str, None] = None,
update_feature: Union[JsCode, str, None] = None,
remove_missing: bool = False,
container: Optional[Union[FeatureGroup, GeoJson]] = None,
container: Optional[GeoJson] = None,
**kwargs,
):
super().__init__()
Expand Down

0 comments on commit 1f55089

Please sign in to comment.