Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-facko committed May 22, 2024
1 parent b339639 commit 9b86055
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async def lifespan(
database_path = (
repository_parameters.database_path
if repository_parameters.database_path is not None
else data_path / "database"
else data_path
)

database_path.mkdir(parents=True, exist_ok=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def lifespan(
database_path = (
repository_parameters.database_path
if repository_parameters.database_path is not None
else data_path / "database"
else data_path
)

coroutine_lock = RWLock()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def lifespan(
database_path = (
repository_parameters.database_path
if repository_parameters.database_path is not None
else data_path / "database"
else data_path
)

database_path.mkdir(parents=True, exist_ok=True)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from pathlib import Path
from sys import stderr
from typing import Annotated, Optional

from PPpackage.repository_driver.interface.interface import Interface
Expand Down Expand Up @@ -35,6 +36,8 @@ async def main(
if data_path is None:
data_path = Path.home() / ".PPpackage" / str(index)

print(data_path, file=stderr)

interface = load_interface_module(Interface, package)

driver_parameters = load_parameters(
Expand Down

0 comments on commit 9b86055

Please sign in to comment.