Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions duckdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def __repr__(self):
IntervalValue,
TimestampValue,
TimestampSecondValue,
TimestampMilisecondValue,
TimestampMillisecondValue,
TimestampNanosecondValue,
TimestampTimeZoneValue,
TimeValue,
Expand Down Expand Up @@ -465,7 +465,7 @@ def __repr__(self):
"IntervalValue",
"TimestampValue",
"TimestampSecondValue",
"TimestampMilisecondValue",
"TimestampMillisecondValue",
"TimestampNanosecondValue",
"TimestampTimeZoneValue",
"TimeValue",
Expand Down
2 changes: 1 addition & 1 deletion duckdb/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ from duckdb.value.constant import (
IntervalValue,
TimestampValue,
TimestampSecondValue,
TimestampMilisecondValue,
TimestampMillisecondValue,
TimestampNanosecondValue,
TimestampTimeZoneValue,
TimeValue,
Expand Down
4 changes: 2 additions & 2 deletions duckdb/value/constant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -260,7 +260,7 @@ def __init__(self, object: Any, members: Dict[str, DuckDBPyType]):
"IntervalValue",
"TimestampValue",
"TimestampSecondValue",
"TimestampMilisecondValue",
"TimestampMillisecondValue",
"TimestampNanosecondValue",
"TimestampTimeZoneValue",
"TimeValue",
Expand Down
2 changes: 1 addition & 1 deletion duckdb/value/constant/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

Expand Down
4 changes: 2 additions & 2 deletions tests/fast/test_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
IntervalValue,
TimestampValue,
TimestampSecondValue,
TimestampMilisecondValue,
TimestampMillisecondValue,
TimestampNanosecondValue,
TimestampTimeZoneValue,
TimeValue,
Expand Down Expand Up @@ -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)),
],
)
Expand Down