diff --git a/duckdb/__init__.py b/duckdb/__init__.py index b5e994fa..1f316daf 100644 --- a/duckdb/__init__.py +++ b/duckdb/__init__.py @@ -434,7 +434,7 @@ def __repr__(self): IntervalValue, TimestampValue, TimestampSecondValue, - TimestampMilisecondValue, + TimestampMillisecondValue, TimestampNanosecondValue, TimestampTimeZoneValue, TimeValue, @@ -465,7 +465,7 @@ def __repr__(self): "IntervalValue", "TimestampValue", "TimestampSecondValue", - "TimestampMilisecondValue", + "TimestampMillisecondValue", "TimestampNanosecondValue", "TimestampTimeZoneValue", "TimeValue", diff --git a/duckdb/__init__.pyi b/duckdb/__init__.pyi index 8f27e5e3..3737ad6e 100644 --- a/duckdb/__init__.pyi +++ b/duckdb/__init__.pyi @@ -32,7 +32,7 @@ from duckdb.value.constant import ( IntervalValue, TimestampValue, TimestampSecondValue, - TimestampMilisecondValue, + TimestampMillisecondValue, TimestampNanosecondValue, TimestampTimeZoneValue, TimeValue, diff --git a/duckdb/value/constant/__init__.py b/duckdb/value/constant/__init__.py index da2004b9..9fbe0fed 100644 --- a/duckdb/value/constant/__init__.py +++ b/duckdb/value/constant/__init__.py @@ -176,7 +176,7 @@ def __init__(self, object: Any): super().__init__(object, TIMESTAMP_S) -class TimestampMilisecondValue(Value): +class TimestampMillisecondValue(Value): def __init__(self, object: Any): super().__init__(object, TIMESTAMP_MS) @@ -260,7 +260,7 @@ def __init__(self, object: Any, members: Dict[str, DuckDBPyType]): "IntervalValue", "TimestampValue", "TimestampSecondValue", - "TimestampMilisecondValue", + "TimestampMillisecondValue", "TimestampNanosecondValue", "TimestampTimeZoneValue", "TimeValue", diff --git a/duckdb/value/constant/__init__.pyi b/duckdb/value/constant/__init__.pyi index 8cea58cf..9319001c 100644 --- a/duckdb/value/constant/__init__.pyi +++ b/duckdb/value/constant/__init__.pyi @@ -89,7 +89,7 @@ class TimestampSecondValue(Value): def __init__(self, object: Any) -> None: ... def __repr__(self) -> str: ... -class TimestampMilisecondValue(Value): +class TimestampMillisecondValue(Value): def __init__(self, object: Any) -> None: ... def __repr__(self) -> str: ... diff --git a/tests/fast/test_value.py b/tests/fast/test_value.py index 4f74516c..7deb90c6 100644 --- a/tests/fast/test_value.py +++ b/tests/fast/test_value.py @@ -26,7 +26,7 @@ IntervalValue, TimestampValue, TimestampSecondValue, - TimestampMilisecondValue, + TimestampMillisecondValue, TimestampNanosecondValue, TimestampTimeZoneValue, TimeValue, @@ -135,7 +135,7 @@ def test_float_to_decimal_prevention(self): 'value', [ TimestampSecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)), - TimestampMilisecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)), + TimestampMillisecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)), TimestampNanosecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)), ], )