Deleted print statment
This commit is contained in:
@@ -67,7 +67,6 @@ def _mass_insert(objects: Union[List[T], Tuple[T]], db_name: str, protect_memory
|
|||||||
table_name = objects[0].__class__.__name__.lower()
|
table_name = objects[0].__class__.__name__.lower()
|
||||||
for obj in objects:
|
for obj in objects:
|
||||||
kv_pairs = asdict(obj).items()
|
kv_pairs = asdict(obj).items()
|
||||||
print(kv_pairs)
|
|
||||||
sql_queries.append(f"INSERT INTO {table_name}(" +
|
sql_queries.append(f"INSERT INTO {table_name}(" +
|
||||||
f"{', '.join(item[0] for item in kv_pairs)})" +
|
f"{', '.join(item[0] for item in kv_pairs)})" +
|
||||||
f" VALUES ({', '.join(_convert_sql_format(item[1]) for item in kv_pairs)});")
|
f" VALUES ({', '.join(_convert_sql_format(item[1]) for item in kv_pairs)});")
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ copyright = '2020, Ege Ozkan'
|
|||||||
author = 'Ege Ozkan'
|
author = 'Ege Ozkan'
|
||||||
|
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = 'v0.7.0'
|
release = 'v0.7.1'
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="datalite", # Replace with your own username
|
name="datalite", # Replace with your own username
|
||||||
version="0.7.0",
|
version="0.7.1",
|
||||||
author="Ege Ozkan",
|
author="Ege Ozkan",
|
||||||
author_email="egeemirozkan24@gmail.com",
|
author_email="egeemirozkan24@gmail.com",
|
||||||
description="A small package that binds dataclasses to an sqlite database",
|
description="A small package that binds dataclasses to an sqlite database",
|
||||||
|
|||||||
Reference in New Issue
Block a user