Skip to content

Commit

Permalink
mock object unsubscripable error
Browse files Browse the repository at this point in the history
  • Loading branch information
Yifei Wang authored and Yifei Wang committed Nov 25, 2023
1 parent 1d887e7 commit ae89519
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions evadb/models/storage/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from datetime import datetime
from decimal import Decimal
from typing import Callable, Iterable, List, TypeVar, Union

import numpy as np
Expand Down Expand Up @@ -502,7 +501,6 @@ def deduce_and_map_type(element, check_type):
str: NdArrayType.STR, # Python's str maps to np.str_
bytes: NdArrayType.UINT8, # Python's bytes type maps to np.uint8 (common for byte data)
complex: NdArrayType.FLOAT64, # Python's complex type maps to np.float64 (real part)
Decimal: NdArrayType.DECIMAL, # Decimal maps to a Decimal type in your NdArrayType
datetime: NdArrayType.DATETIME, # datetime maps to np.datetime64
np.int8: NdArrayType.INT8,
np.uint8: NdArrayType.UINT8,
Expand Down

0 comments on commit ae89519

Please sign in to comment.