Skip to content

Commit 88938f0

Browse files
committed
Remove dangling function
1 parent 9410272 commit 88938f0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

modules/cratedb/testcontainers/cratedb/__init__.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@
88
from testcontainers.core.wait_strategies import HttpWaitStrategy
99

1010

11-
def asbool(obj) -> bool:
12-
# from sqlalchemy.util.langhelpers
13-
if isinstance(obj, str):
14-
obj = obj.strip().lower()
15-
if obj in ["true", "yes", "on", "y", "t", "1"]:
16-
return True
17-
elif obj in ["false", "no", "off", "n", "f", "0"]:
18-
return False
19-
else:
20-
raise ValueError(f"String is not true/false: {obj!r}")
21-
return bool(obj)
22-
23-
2411
# DockerSkippingContainer, KeepaliveContainer,
2512
class CrateDBContainer(DockerContainer):
2613
"""

0 commit comments

Comments
 (0)