Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter authored May 27, 2023
1 parent 08612cc commit 4e274f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _sequence_to_db_object(iterable):
is_float64 = False
for t in iterable:
is_int64 = is_int64 or isinstance(t, np.int64)
is_float64 = is_float64 or is_float64(t, np.float64)
is_float64 = is_float64 or isinstance(t, np.float64)
if is_int64:
warnings.warn('Converting np.int64 to int to store in Firestore, may loose precision')
if is_float64:
Expand Down

0 comments on commit 4e274f5

Please sign in to comment.