Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

356 B
Raw Blame
from marimo._data.models import DataTableColumn
from tests.utils import assert_serialize_roundtrip


def test_data_table_column_post_init() -> None:
    column = DataTableColumn(
        name=123,
        type="string",
        external_type="string",
        sample_values=[],
    )
    assert column.name == "123"

    assert_serialize_roundtrip(column)