@@ -1060,9 +1060,9 @@ def __init__(self, connection: Connection):
1060
1060
DbInfoCode .DB_ID : self .__db_id ,
1061
1061
DbInfoCode .IMPLEMENTATION : self .__implementation ,
1062
1062
DbInfoCode .IMPLEMENTATION_OLD : self .__implementation_old ,
1063
- DbInfoCode .VERSION : self .__info_string ,
1064
- DbInfoCode .FIREBIRD_VERSION : self .__info_string ,
1065
- DbInfoCode .CRYPT_KEY : self .__info_string ,
1063
+ DbInfoCode .VERSION : self ._info_string ,
1064
+ DbInfoCode .FIREBIRD_VERSION : self ._info_string ,
1065
+ DbInfoCode .CRYPT_KEY : self ._info_string ,
1066
1066
DbInfoCode .USER_NAMES : self .__user_names ,
1067
1067
DbInfoCode .ACTIVE_TRANSACTIONS : self .__tra_active ,
1068
1068
DbInfoCode .LIMBO : self .__tra_limbo ,
@@ -1102,7 +1102,7 @@ def __init__(self, connection: Connection):
1102
1102
DbInfoCode .DB_PROVIDER : self .response .read_sized_int ,
1103
1103
DbInfoCode .PAGES_USED : self .response .read_sized_int ,
1104
1104
DbInfoCode .PAGES_FREE : self .response .read_sized_int ,
1105
- DbInfoCode .CRYPT_KEY : self .__info_string ,
1105
+ DbInfoCode .CRYPT_KEY : self ._info_string ,
1106
1106
DbInfoCode .CRYPT_STATE : self .__crypt_state ,
1107
1107
DbInfoCode .CONN_FLAGS : self .__con_state ,
1108
1108
DbInfoCode .BACKOUT_COUNT : self .__tbl_perf_count ,
@@ -1142,7 +1142,7 @@ def __implementation_old(self) -> Tuple[int, int]:
1142
1142
impl_number = self .response .read_byte ()
1143
1143
class_number = self .response .read_byte ()
1144
1144
return (impl_number , class_number )
1145
- def __info_string (self ) -> str :
1145
+ def _info_string (self ) -> str :
1146
1146
self .response .read_byte () # Cluster length
1147
1147
self .response .read_short () # number of strings
1148
1148
return self .response .read_pascal_string ()
@@ -1507,14 +1507,14 @@ def __init__(self, connection: Connection):
1507
1507
DbInfoCode .STMT_TIMEOUT_DB : self .response .read_sized_int ,
1508
1508
DbInfoCode .STMT_TIMEOUT_ATT : self .response .read_sized_int ,
1509
1509
DbInfoCode .PROTOCOL_VERSION : self .response .read_sized_int ,
1510
- DbInfoCode .CRYPT_PLUGIN : self .__info_string ,
1510
+ DbInfoCode .CRYPT_PLUGIN : self ._info_string ,
1511
1511
DbInfoCode .CREATION_TIMESTAMP_TZ : self .__creation_tstz ,
1512
- DbInfoCode .WIRE_CRYPT : self .__info_string ,
1512
+ DbInfoCode .WIRE_CRYPT : self ._info_string ,
1513
1513
DbInfoCode .FEATURES : self .__features ,
1514
1514
DbInfoCode .NEXT_ATTACHMENT : self .response .read_sized_int ,
1515
1515
DbInfoCode .NEXT_STATEMENT : self .response .read_sized_int ,
1516
- DbInfoCode .DB_GUID : self .__info_string ,
1517
- DbInfoCode .DB_FILE_ID : self .__info_string ,
1516
+ DbInfoCode .DB_GUID : self ._info_string ,
1517
+ DbInfoCode .DB_FILE_ID : self ._info_string ,
1518
1518
DbInfoCode .REPLICA_MODE : self .__replica_mode ,
1519
1519
})
1520
1520
def __creation_tstz (self ) -> datetime .datetime :
0 commit comments