pybiolib 1.1.2169__py3-none-any.whl → 1.1.2173__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.
- biolib/_internal/data_record/data_record.py +2 -2
- {pybiolib-1.1.2169.dist-info → pybiolib-1.1.2173.dist-info}/METADATA +1 -1
- {pybiolib-1.1.2169.dist-info → pybiolib-1.1.2173.dist-info}/RECORD +6 -6
- {pybiolib-1.1.2169.dist-info → pybiolib-1.1.2173.dist-info}/LICENSE +0 -0
- {pybiolib-1.1.2169.dist-info → pybiolib-1.1.2173.dist-info}/WHEEL +0 -0
- {pybiolib-1.1.2169.dist-info → pybiolib-1.1.2173.dist-info}/entry_points.txt +0 -0
@@ -16,7 +16,7 @@ def get_actual_schema(db_path):
|
|
16
16
|
cursor.execute("SELECT name FROM sqlite_master WHERE type='table';")
|
17
17
|
tables = cursor.fetchall()
|
18
18
|
|
19
|
-
actual_schema: SqliteV1DatabaseSchema = {'tables':
|
19
|
+
actual_schema: SqliteV1DatabaseSchema = {'tables': {}}
|
20
20
|
for table in tables:
|
21
21
|
table_name = table[0]
|
22
22
|
cursor.execute(f'PRAGMA table_info({table_name});')
|
@@ -93,5 +93,5 @@ def get_data_record_state_from_uri(uri) -> 'DataRecordVersionInfo':
|
|
93
93
|
def validate_sqlite_v1(schema: SqliteV1DatabaseSchema, sqlite_file: Path):
|
94
94
|
actual_schema = get_actual_schema(sqlite_file)
|
95
95
|
print(schema)
|
96
|
-
print(
|
96
|
+
print(actual_schema)
|
97
97
|
verify_schema(specification=schema, actual_schema=actual_schema)
|
@@ -4,7 +4,7 @@ biolib/__init__.py,sha256=_tThyzISH81yS9KXP_X3qEiKXmsIp5XOBcJIODfLVnc,4338
|
|
4
4
|
biolib/_data_record/data_record.py,sha256=XC3BsxnmA20odM7r4dsRHNnwYqhYp054f4BNkA5J5dA,12685
|
5
5
|
biolib/_internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
biolib/_internal/data_record/__init__.py,sha256=fGdME6JGRU_2VxpJbYpGXYndjN-feUkmKY4fuMyq3cg,76
|
7
|
-
biolib/_internal/data_record/data_record.py,sha256=
|
7
|
+
biolib/_internal/data_record/data_record.py,sha256=YmaAABR57goDCE8-rKb2j0FPMSbDtRPCm_HhT3mM074,4299
|
8
8
|
biolib/_internal/data_record/remote_storage_endpoint.py,sha256=eCptuZ4DMAPnaNCVDvpWXwXGI6Jac9U1N5dqU8Cj95Q,1732
|
9
9
|
biolib/_internal/file_utils.py,sha256=4jT6j7bB21c0JNn5BfnyWQib_zt0CVtJ_TiOFOStRcE,2604
|
10
10
|
biolib/_internal/fuse_mount/__init__.py,sha256=B_tM6RM2dBw-vbpoHJC4X3tOAaN1H2RDvqYJOw3xFwg,55
|
@@ -116,8 +116,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
|
|
116
116
|
biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
|
117
117
|
biolib/utils/seq_util.py,sha256=jC5WhH63FTD7SLFJbxQGA2hOt9NTwq9zHl_BEec1Z0c,4907
|
118
118
|
biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
|
119
|
-
pybiolib-1.1.
|
120
|
-
pybiolib-1.1.
|
121
|
-
pybiolib-1.1.
|
122
|
-
pybiolib-1.1.
|
123
|
-
pybiolib-1.1.
|
119
|
+
pybiolib-1.1.2173.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
|
120
|
+
pybiolib-1.1.2173.dist-info/METADATA,sha256=vA4sMu0c3kO4Z5PTqIziK4BRlsjEKNe-lVtJ26RzVag,1508
|
121
|
+
pybiolib-1.1.2173.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
122
|
+
pybiolib-1.1.2173.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
|
123
|
+
pybiolib-1.1.2173.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|