Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Jan 22, 2024
1 parent 7001bd4 commit 33d3d95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scitacean/testing/backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import json
from dataclasses import dataclass
from pathlib import Path
from typing import Union


@dataclass
Expand Down Expand Up @@ -38,7 +39,7 @@ def credentials(self) -> dict[str, str]:
"password": self.password,
}

def dump(self) -> dict[str, str]:
def dump(self) -> dict[str, Union[str, bool]]:
"""Return a dict that can be serialized to functionalAccounts.json."""
return {
"username": self.username,
Expand Down

0 comments on commit 33d3d95

Please sign in to comment.