Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/core/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(
):
if not db_url.startswith("sqlite:///"):
raise ValueError(f"SQLiteRDSJobQueue requires SQLite DB URL, got: {db_url}")
if not ((s3_client is None) == (s3_bucket is None)):
if not (bool(s3_client) == bool(s3_bucket)):
raise ValueError(
"Both s3_client and s3_bucket must be provided for S3 backup/restore, or both must be None."
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "api"
version = "0.3.0"
version = "0.3.1"
description = "User-facing API of DECODE OpenCloud."
authors = ["Arthur Jaques <arthur.jaques@hispeed.ch>"]
readme = "README.md"
Expand Down
Loading