diff --git a/redshift_connector/core.py b/redshift_connector/core.py index 3c12530..98e8d1e 100644 --- a/redshift_connector/core.py +++ b/redshift_connector/core.py @@ -700,10 +700,6 @@ def get_calling_module() -> str: self._read: typing.Callable = self._sock.read self._write: typing.Callable = self._sock.write self._backend_key_data: typing.Optional[bytes] = None - - trans_tab = dict(zip(map(ord, "{}"), "[]")) - glbls = {"Decimal": Decimal} - self.inspect_funcs: typing.Dict[type, typing.Callable] = { Datetime: self.inspect_datetime, list: self.array_inspect, diff --git a/redshift_connector/utils/type_utils.py b/redshift_connector/utils/type_utils.py index 267562b..280c7af 100644 --- a/redshift_connector/utils/type_utils.py +++ b/redshift_connector/utils/type_utils.py @@ -222,10 +222,6 @@ def intervald2s_send_integer(v: IntervalDayToSecond) -> bytes: return typing.cast(bytes, q_pack(microseconds)) -glbls: typing.Dict[str, type] = {"Decimal": Decimal} -trans_tab = dict(zip(map(ord, "{}"), "[]")) - - # def array_in(data: bytes, idx: int, length: int) -> typing.List: # arr: typing.List[str] = [] # prev_c = None