@@ -1060,9 +1060,9 @@ def __init__(self, connection: Connection):
10601060 DbInfoCode .DB_ID : self .__db_id ,
10611061 DbInfoCode .IMPLEMENTATION : self .__implementation ,
10621062 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 ,
10661066 DbInfoCode .USER_NAMES : self .__user_names ,
10671067 DbInfoCode .ACTIVE_TRANSACTIONS : self .__tra_active ,
10681068 DbInfoCode .LIMBO : self .__tra_limbo ,
@@ -1102,7 +1102,7 @@ def __init__(self, connection: Connection):
11021102 DbInfoCode .DB_PROVIDER : self .response .read_sized_int ,
11031103 DbInfoCode .PAGES_USED : self .response .read_sized_int ,
11041104 DbInfoCode .PAGES_FREE : self .response .read_sized_int ,
1105- DbInfoCode .CRYPT_KEY : self .__info_string ,
1105+ DbInfoCode .CRYPT_KEY : self ._info_string ,
11061106 DbInfoCode .CRYPT_STATE : self .__crypt_state ,
11071107 DbInfoCode .CONN_FLAGS : self .__con_state ,
11081108 DbInfoCode .BACKOUT_COUNT : self .__tbl_perf_count ,
@@ -1142,7 +1142,7 @@ def __implementation_old(self) -> Tuple[int, int]:
11421142 impl_number = self .response .read_byte ()
11431143 class_number = self .response .read_byte ()
11441144 return (impl_number , class_number )
1145- def __info_string (self ) -> str :
1145+ def _info_string (self ) -> str :
11461146 self .response .read_byte () # Cluster length
11471147 self .response .read_short () # number of strings
11481148 return self .response .read_pascal_string ()
@@ -1507,14 +1507,14 @@ def __init__(self, connection: Connection):
15071507 DbInfoCode .STMT_TIMEOUT_DB : self .response .read_sized_int ,
15081508 DbInfoCode .STMT_TIMEOUT_ATT : self .response .read_sized_int ,
15091509 DbInfoCode .PROTOCOL_VERSION : self .response .read_sized_int ,
1510- DbInfoCode .CRYPT_PLUGIN : self .__info_string ,
1510+ DbInfoCode .CRYPT_PLUGIN : self ._info_string ,
15111511 DbInfoCode .CREATION_TIMESTAMP_TZ : self .__creation_tstz ,
1512- DbInfoCode .WIRE_CRYPT : self .__info_string ,
1512+ DbInfoCode .WIRE_CRYPT : self ._info_string ,
15131513 DbInfoCode .FEATURES : self .__features ,
15141514 DbInfoCode .NEXT_ATTACHMENT : self .response .read_sized_int ,
15151515 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 ,
15181518 DbInfoCode .REPLICA_MODE : self .__replica_mode ,
15191519 })
15201520 def __creation_tstz (self ) -> datetime .datetime :
0 commit comments