Skip to content

Commit c00173c

Browse files
authored
Merge pull request #56 from sasorokinnebius/patch-1
Get rid of logging in cursor.py
2 parents d84d0f1 + b17c26c commit c00173c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ydb_sqlalchemy/dbapi/cursor.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import functools
44
import hashlib
55
import itertools
6-
import logging
76
import posixpath
87
from collections.abc import AsyncIterator
98
from typing import (
@@ -31,8 +30,6 @@
3130
ProgrammingError,
3231
)
3332

34-
logger = logging.getLogger(__name__)
35-
3633

3734
def get_column_type(type_obj: Any) -> str:
3835
return str(ydb.convert.type_to_native(type_obj))
@@ -131,7 +128,6 @@ def get_table_names(self, abs_dir_path: str) -> List[str]:
131128
def execute(self, operation: YdbQuery, parameters: Optional[Mapping[str, Any]] = None):
132129
query = self._get_ydb_query(operation)
133130

134-
logger.info("execute sql: %s, params: %s", query, parameters)
135131
if operation.is_ddl:
136132
chunks = self._execute_ddl(query)
137133
elif self.use_scan_query:

0 commit comments

Comments
 (0)