# DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs
# Based on "crates/store/re_sdk_types/definitions/rerun/blueprint/components/zoom_level.fbs".

# You can extend this class by creating a "ZoomLevelExt" class in "zoom_level_ext.py".

from __future__ import annotations

from ... import datatypes
from ..._baseclasses import (
    ComponentBatchMixin,
    ComponentMixin,
)

__all__ = ["ZoomLevel", "ZoomLevelBatch"]


class ZoomLevel(datatypes.Float64, ComponentMixin):
    """
    **Component**: A zoom level determines how much of the world is visible on a map.

    ⚠️ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
    """

    _BATCH_TYPE = None
    # You can define your own __init__ function as a member of ZoomLevelExt in zoom_level_ext.py

    # Note: there are no fields here because ZoomLevel delegates to datatypes.Float64


class ZoomLevelBatch(datatypes.Float64Batch, ComponentBatchMixin):
    _COMPONENT_TYPE: str = "rerun.blueprint.components.ZoomLevel"


# This is patched in late to avoid circular dependencies.
ZoomLevel._BATCH_TYPE = ZoomLevelBatch  # type: ignore[assignment]
