Skip to content

Commit ff08195

Browse files
add binary method (#80)
* add binary method * add typing * fix coverage Co-authored-by: Koudai Aono <koxudaxi@gmail.com>
1 parent 6492ccc commit ff08195

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pydataapi/dbapi.py

+4
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:
164164
else:
165165
self.rollback()
166166

167+
@staticmethod
168+
def Binary(x: Any) -> Any:
169+
return x # pragma: no cover
170+
167171

168172
class Cursor:
169173
def __init__(self, data_api: DataAPI) -> None:

0 commit comments

Comments
 (0)