Skip to content

Commit eda51a6

Browse files
committed
Fix typo in class name: milisecond -> millisecond
1 parent a0f7660 commit eda51a6

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

duckdb/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def __repr__(self):
434434
IntervalValue,
435435
TimestampValue,
436436
TimestampSecondValue,
437-
TimestampMilisecondValue,
437+
TimestampMillisecondValue,
438438
TimestampNanosecondValue,
439439
TimestampTimeZoneValue,
440440
TimeValue,
@@ -465,7 +465,7 @@ def __repr__(self):
465465
"IntervalValue",
466466
"TimestampValue",
467467
"TimestampSecondValue",
468-
"TimestampMilisecondValue",
468+
"TimestampMillisecondValue",
469469
"TimestampNanosecondValue",
470470
"TimestampTimeZoneValue",
471471
"TimeValue",

duckdb/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ from duckdb.value.constant import (
3232
IntervalValue,
3333
TimestampValue,
3434
TimestampSecondValue,
35-
TimestampMilisecondValue,
35+
TimestampMillisecondValue,
3636
TimestampNanosecondValue,
3737
TimestampTimeZoneValue,
3838
TimeValue,

duckdb/value/constant/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def __init__(self, object: Any):
176176
super().__init__(object, TIMESTAMP_S)
177177

178178

179-
class TimestampMilisecondValue(Value):
179+
class TimestampMillisecondValue(Value):
180180
def __init__(self, object: Any):
181181
super().__init__(object, TIMESTAMP_MS)
182182

@@ -260,7 +260,7 @@ def __init__(self, object: Any, members: Dict[str, DuckDBPyType]):
260260
"IntervalValue",
261261
"TimestampValue",
262262
"TimestampSecondValue",
263-
"TimestampMilisecondValue",
263+
"TimestampMillisecondValue",
264264
"TimestampNanosecondValue",
265265
"TimestampTimeZoneValue",
266266
"TimeValue",

duckdb/value/constant/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class TimestampSecondValue(Value):
8989
def __init__(self, object: Any) -> None: ...
9090
def __repr__(self) -> str: ...
9191

92-
class TimestampMilisecondValue(Value):
92+
class TimestampMillisecondValue(Value):
9393
def __init__(self, object: Any) -> None: ...
9494
def __repr__(self) -> str: ...
9595

tests/fast/test_value.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
IntervalValue,
2727
TimestampValue,
2828
TimestampSecondValue,
29-
TimestampMilisecondValue,
29+
TimestampMillisecondValue,
3030
TimestampNanosecondValue,
3131
TimestampTimeZoneValue,
3232
TimeValue,
@@ -135,7 +135,7 @@ def test_float_to_decimal_prevention(self):
135135
'value',
136136
[
137137
TimestampSecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)),
138-
TimestampMilisecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)),
138+
TimestampMillisecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)),
139139
TimestampNanosecondValue(datetime.datetime(1970, 3, 21, 12, 36, 43)),
140140
],
141141
)

0 commit comments

Comments
 (0)