Split models into packages based on repo related functionalities
Compare changes
+ 23
− 18
@@ -11,10 +11,13 @@ from typing import AsyncIterator, Iterator
@@ -35,9 +38,9 @@ async def _extract_db_member_package_name(name: str) -> str:
@@ -52,13 +55,13 @@ async def _db_file_member_as_model(
@@ -98,8 +101,8 @@ async def _json_files_in_directory(path: Path) -> AsyncIterator[Path]:
@@ -111,17 +114,17 @@ async def _read_pkgbase_json_file(path: Path) -> models.OutputPackageBase:
@@ -159,9 +162,9 @@ def _write_db_file(path: Path, compression: str = "gz") -> Iterator[tarfile.TarF
@@ -171,9 +174,11 @@ async def _stream_package_base_to_db(
@@ -196,7 +201,7 @@ async def _stream_package_base_to_db(