Skip to content

Commit ba425c4

Browse files
Remove unnecessary definitions from shared file and put definitions in
alphabetical order in the private file.
1 parent e492694 commit ba425c4

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

src/oracledb/base_impl.pxd

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,26 +186,20 @@ cpdef enum:
186186
VECTOR_FORMAT_FLOAT64 = 3
187187
VECTOR_FORMAT_INT8 = 4
188188

189-
cdef type PY_TYPE_ASYNC_CURSOR
190189
cdef type PY_TYPE_ASYNC_LOB
191-
cdef type PY_TYPE_BOOL
192-
cdef type PY_TYPE_CURSOR
193190
cdef type PY_TYPE_DATE
194191
cdef type PY_TYPE_DATETIME
195-
cdef type PY_TYPE_DECIMAL
196192
cdef type PY_TYPE_DB_OBJECT
197-
cdef type PY_TYPE_DB_OBJECT_TYPE
198-
cdef type PY_TYPE_FETCHINFO
199-
cdef type PY_TYPE_JSON_ID
193+
cdef type PY_TYPE_DECIMAL
200194
cdef type PY_TYPE_INTERVAL_YM
195+
cdef type PY_TYPE_JSON_ID
201196
cdef type PY_TYPE_LOB
202197
cdef type PY_TYPE_MESSAGE
203198
cdef type PY_TYPE_MESSAGE_QUERY
204199
cdef type PY_TYPE_MESSAGE_ROW
205200
cdef type PY_TYPE_MESSAGE_TABLE
206201
cdef type PY_TYPE_SPARSE_VECTOR
207202
cdef type PY_TYPE_TIMEDELTA
208-
cdef type PY_TYPE_VAR
209203

210204
cdef str DRIVER_NAME
211205
cdef str DRIVER_VERSION

src/oracledb/base_impl.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ cdef type PY_TYPE_CURSOR
8888
cdef object PY_TYPE_DATAFRAME
8989
cdef type PY_TYPE_DATE = datetime.date
9090
cdef type PY_TYPE_DATETIME = datetime.datetime
91-
cdef type PY_TYPE_DECIMAL = decimal.Decimal
9291
cdef type PY_TYPE_DB_OBJECT
92+
cdef type PY_TYPE_DECIMAL = decimal.Decimal
9393
cdef type PY_TYPE_DB_OBJECT_TYPE
94+
cdef type PY_TYPE_FETCHINFO
9495
cdef type PY_TYPE_JSON_ID
9596
cdef type PY_TYPE_INTERVAL_YM
9697
cdef type PY_TYPE_LOB
@@ -101,7 +102,6 @@ cdef type PY_TYPE_MESSAGE_TABLE
101102
cdef type PY_TYPE_SPARSE_VECTOR
102103
cdef type PY_TYPE_TIMEDELTA = datetime.timedelta
103104
cdef type PY_TYPE_VAR
104-
cdef type PY_TYPE_FETCHINFO
105105

106106
# enumerations used by the driver in connect parameters
107107
cdef object ENUM_AUTH_MODE

0 commit comments

Comments
 (0)