From 995b16f6cb6d502388d8adb1971fe9f3a9971c23 Mon Sep 17 00:00:00 2001 From: Sabron Date: Tue, 21 Jan 2025 11:37:49 +0700 Subject: [PATCH] update : 21.01.2025 11:37:49,62 --- start.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start.py b/start.py index 360e055..71acd8f 100644 --- a/start.py +++ b/start.py @@ -107,9 +107,9 @@ def test_oracle_connect(): print('start') for row in cursor: if row[2] is not None: - print(row[2]) - for attr in row[2].type.attributes: - print(f' obj[{attr.name}] = {row[2][attr.name]}') + print(row[2]) + print(f' obj[SDO_GTYPE] = '+row[2]['SDO_GTYPE']) + print('stop')