MCPcopy
hub / github.com/python-visualization/folium / __init__

Method __init__

folium/raster_layers.py:390–407  ·  view source on GitHub ↗
(
        self,
        video_url: str,
        bounds: TypeBounds,
        autoplay: bool = True,
        loop: bool = True,
        name: Optional[str] = None,
        overlay: bool = True,
        control: bool = True,
        show: bool = True,
        **kwargs: TypeJsonValue,
    )

Source from the content-addressed store, hash-verified

388 )
389
390 def __init__(
391 self,
392 video_url: str,
393 bounds: TypeBounds,
394 autoplay: bool = True,
395 loop: bool = True,
396 name: Optional[str] = None,
397 overlay: bool = True,
398 control: bool = True,
399 show: bool = True,
400 **kwargs: TypeJsonValue,
401 ):
402 super().__init__(name=name, overlay=overlay, control=control, show=show)
403 self._name = "VideoOverlay"
404 self.video_url = video_url
405
406 self.bounds = bounds
407 self.options = remove_empty(autoplay=autoplay, loop=loop, **kwargs)
408
409 def _get_self_bounds(self) -> TypeBoundsReturn:
410 """

Callers

nothing calls this directly

Calls 2

remove_emptyFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected