Skip to content

Commit

Permalink
Change default download specification to PMHC 4.0
Browse files Browse the repository at this point in the history
This matches the default in the PMHC web interface.
Bumped package version as this is a breaking change if you use the
default values.
  • Loading branch information
daviewales committed Dec 6, 2023
1 parent 496dafe commit 9b1221d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 = "pmhclib"
version = "0.3.0"
version = "0.4.0"
description = "Python wrapper for unofficial PMHC MDS portal API"
authors = [
"David Wales <[email protected]>",
Expand Down
6 changes: 3 additions & 3 deletions src/pmhclib/pmhc.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def download_pmhc_mds(
start_date: date = date.today() - timedelta(days=30),
end_date: date = date.today(),
organisation_path: Optional[str] = None,
specification: PMHCSpecification = PMHCSpecification.ALL,
specification: PMHCSpecification = PMHCSpecification.PMHC,
without_associated_dates: bool = True,
matched_episodes: bool = True,
) -> Path:
Expand All @@ -340,8 +340,8 @@ def download_pmhc_mds(
organisation_path: PHN identifier (default: inherited
from parent class.)
specification: Specification for extract. (default:
`PMHCSpecification.ALL`, which returns data from all
specifications.)
`PMHCSpecification.PMHC`, which returns data from the
PMHC 4.0 specification.)
without_associated_dates: Enable extract option
"Include data without associated dates"
matched_episodes: Enable extract option
Expand Down

0 comments on commit 9b1221d

Please sign in to comment.