Skip to content

Commit 331a33b

Browse files
Added missing cdef declaration.
1 parent 8f498c6 commit 331a33b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oracledb/impl/thin/transport.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ cdef class Transport:
367367
"""
368368
Writes a packet on the transport.
369369
"""
370-
data = buf._data[:buf._pos]
370+
cdef bytes data = buf._data[:buf._pos]
371371
if DEBUG_PACKETS:
372372
self._print_packet("Sending packet", data)
373373
try:

0 commit comments

Comments
 (0)