reydb 1.1.51__py3-none-any.whl → 1.1.53__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
reydb/rfile.py CHANGED
@@ -359,7 +359,7 @@ class DatabaseFile(DatabaseBase):
359
359
  )
360
360
 
361
361
  # Get ID.
362
- file_id = conn.insert_id
362
+ file_id = conn.insert_id()
363
363
 
364
364
  # Commit.
365
365
  conn.commit()
reydb/rinfo.py CHANGED
@@ -9,7 +9,6 @@
9
9
  """
10
10
 
11
11
 
12
- from __future__ import annotations
13
12
  from typing import Any, Literal, overload
14
13
 
15
14
  from .rbase import DatabaseBase
@@ -32,21 +31,21 @@ class DatabaseInformation(DatabaseBase):
32
31
 
33
32
 
34
33
  @overload
35
- def __call__(self: DatabaseInformationSchema | DatabaseInformationSchema | DatabaseInformationDatabase | DatabaseInformationTable) -> list[dict]: ...
34
+ def __call__(self: 'DatabaseInformationSchema | DatabaseInformationSchema | DatabaseInformationDatabase | DatabaseInformationTable') -> list[dict]: ...
36
35
 
37
36
  @overload
38
- def __call__(self: DatabaseInformationSchema, name: str) -> DatabaseInformationDatabase: ...
37
+ def __call__(self: 'DatabaseInformationSchema', name: str) -> 'DatabaseInformationDatabase': ...
39
38
 
40
39
  @overload
41
- def __call__(self: DatabaseInformationDatabase, name: str) -> DatabaseInformationTable: ...
40
+ def __call__(self: 'DatabaseInformationDatabase', name: str) -> 'DatabaseInformationTable': ...
42
41
 
43
42
  @overload
44
- def __call__(self: DatabaseInformationTable, name: str) -> DatabaseInformationColumn: ...
43
+ def __call__(self: 'DatabaseInformationTable', name: str) -> 'DatabaseInformationColumn': ...
45
44
 
46
45
  @overload
47
- def __call__(self: DatabaseInformationColumn) -> dict: ...
46
+ def __call__(self: 'DatabaseInformationColumn') -> dict: ...
48
47
 
49
- def __call__(self, name: str | None = None) -> DatabaseInformationDatabase | DatabaseInformationTable | DatabaseInformationColumn | list[dict] | dict:
48
+ def __call__(self, name: str | None = None) -> 'DatabaseInformationDatabase | DatabaseInformationTable | DatabaseInformationColumn | list[dict] | dict':
50
49
  """
51
50
  Get information table or subclass instance.
52
51
 
@@ -125,15 +124,15 @@ class DatabaseInformation(DatabaseBase):
125
124
 
126
125
 
127
126
  @overload
128
- def __getattr__(self: DatabaseInformationSchema, name: str) -> DatabaseInformationDatabase: ...
127
+ def __getattr__(self: 'DatabaseInformationSchema', name: str) -> 'DatabaseInformationDatabase': ...
129
128
 
130
129
  @overload
131
- def __getattr__(self: DatabaseInformationDatabase, name: str) -> DatabaseInformationTable: ...
130
+ def __getattr__(self: 'DatabaseInformationDatabase', name: str) -> 'DatabaseInformationTable': ...
132
131
 
133
132
  @overload
134
- def __getattr__(self: DatabaseInformationTable, name: str) -> DatabaseInformationColumn: ...
133
+ def __getattr__(self: 'DatabaseInformationTable', name: str) -> 'DatabaseInformationColumn': ...
135
134
 
136
- def __getattr__(self, name: str) -> DatabaseInformationDatabase | DatabaseInformationTable | DatabaseInformationColumn:
135
+ def __getattr__(self, name: str) -> 'DatabaseInformationDatabase | DatabaseInformationTable | DatabaseInformationColumn':
137
136
  """
138
137
  Build subclass instance.
139
138