mphapi 1.17__tar.gz → 1.17.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mphapi-1.17 → mphapi-1.17.1}/PKG-INFO +1 -1
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/client.py +2 -2
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/client_test.py +2 -1
- {mphapi-1.17 → mphapi-1.17.1}/pyproject.toml +5 -2
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/__init__.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/claim.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/credentials.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/date.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/env.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/fields.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/pricing.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/py.typed +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/response.py +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/snapshots/client_test/test_client/hcfa.json +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/snapshots/client_test/test_client/inpatient.json +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/snapshots/client_test/test_client/outpatient.json +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/testdata/hcfa.json +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/testdata/inpatient.json +0 -0
- {mphapi-1.17 → mphapi-1.17.1}/mphapi/testdata/outpatient.json +0 -0
|
@@ -2,7 +2,7 @@ import urllib.parse
|
|
|
2
2
|
from typing import Annotated, Any, Mapping, Optional, Sequence
|
|
3
3
|
|
|
4
4
|
import requests
|
|
5
|
-
from pydantic import BaseModel, StrictBool, TypeAdapter
|
|
5
|
+
from pydantic import BaseModel, RootModel, StrictBool, TypeAdapter
|
|
6
6
|
|
|
7
7
|
from .claim import Claim, RateSheet
|
|
8
8
|
from .credentials import Credentials, get_credentials
|
|
@@ -381,5 +381,5 @@ class Client:
|
|
|
381
381
|
self._receive_app_response(
|
|
382
382
|
f"/v1/claim/{claim_id}/status",
|
|
383
383
|
claim_status,
|
|
384
|
-
|
|
384
|
+
RootModel[None],
|
|
385
385
|
)
|
|
@@ -8,7 +8,8 @@ import pytest
|
|
|
8
8
|
# This import annoys Pylance for some reason.
|
|
9
9
|
from pytest_snapshot.plugin import Snapshot # type: ignore
|
|
10
10
|
|
|
11
|
-
from .
|
|
11
|
+
from .claim import Claim
|
|
12
|
+
from .client import Client, PriceConfig
|
|
12
13
|
from .credentials import Credentials, sign_in
|
|
13
14
|
from .env import load_env
|
|
14
15
|
from .pricing import ClaimStatus, PricedService, Pricing, status_new
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "mphapi"
|
|
3
|
-
version = "1.17"
|
|
3
|
+
version = "1.17.1"
|
|
4
4
|
description = "A Python interface to the MyPriceHealth API"
|
|
5
5
|
authors = ["David Archibald <davidarchibald@myprice.health>"]
|
|
6
6
|
|
|
@@ -17,7 +17,10 @@ coverage = "^7.10.4"
|
|
|
17
17
|
black = "^25.1.0"
|
|
18
18
|
isort = "^6.0.1"
|
|
19
19
|
flake8 = "^7.3.0"
|
|
20
|
-
pyright = "^1.1.
|
|
20
|
+
pyright = { extras = ["nodejs"], version = "^1.1.406" }
|
|
21
|
+
|
|
22
|
+
[tool.pyright]
|
|
23
|
+
typeCheckingMode = "strict"
|
|
21
24
|
|
|
22
25
|
[build-system]
|
|
23
26
|
requires = ["poetry-core"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|