Skip to content

Commit e1f4a63

Browse files
committed
new: account descriptions for FHSA
1 parent d64bc22 commit e1f4a63

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "ws-api"
7-
version = "0.28.1"
7+
version = "0.29.0"
88
description = "Access your Wealthsimple account using their (GraphQL) API."
99
readme = "README.md"
1010
license = {file = "LICENSE"}

ws_api/wealthsimple_api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,10 @@ def _account_add_description(account):
466466
account["description"] = "TFSA: self-directed"
467467
elif account["unifiedAccountType"] == "MANAGED_TFSA":
468468
account["description"] = "TFSA: managed"
469+
elif account["unifiedAccountType"] == "SELF_DIRECTED_FHSA":
470+
account["description"] = f"FHSA: self-directed"
471+
elif account["unifiedAccountType"] == "MANAGED_FHSA":
472+
account["description"] = f"FHSA: managed"
469473
elif account["unifiedAccountType"] == "SELF_DIRECTED_NON_REGISTERED":
470474
account["description"] = "Non-registered: self-directed"
471475
elif account["unifiedAccountType"] == "SELF_DIRECTED_JOINT_NON_REGISTERED":

0 commit comments

Comments
 (0)