Skip to content

Commit 29ec945

Browse files
Hotfix automated tests (#148)
* Hotfix automated tests * Fix double type name --------- Co-authored-by: JWittmeyer <jens.wittmeyer@kern.ai>
1 parent 8f8c03a commit 29ec945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
from typing import Tuple, Any, Union, List, Dict, Optional, Iterable
33
from pydantic import BaseModel
4-
import collections
4+
from collections.abc import Iterable as collections_abc_Iterable
55
from re import sub, match, compile
66
import sqlalchemy
77
from uuid import UUID
@@ -196,7 +196,7 @@ def to_camel_case(name: str):
196196

197197
def is_list_like(value: Any) -> bool:
198198
return (
199-
isinstance(value, collections.Iterable)
199+
isinstance(value, collections_abc_Iterable)
200200
and not isinstance(value, str)
201201
and not isinstance(value, dict)
202202
and not isinstance(value, Row)

0 commit comments

Comments
 (0)