mphapi 1.17.1__tar.gz → 1.17.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mphapi
3
- Version: 1.17.1
3
+ Version: 1.17.2
4
4
  Summary: A Python interface to the MyPriceHealth API
5
5
  Author: David Archibald
6
6
  Author-email: davidarchibald@myprice.health
@@ -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, RootModel, StrictBool, TypeAdapter
5
+ from pydantic import BaseModel, 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
- RootModel[None],
384
+ BaseModel,
385
385
  )
@@ -8,8 +8,7 @@ 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 .claim import Claim
12
- from .client import Client, PriceConfig
11
+ from .client import Claim, Client, PriceConfig
13
12
  from .credentials import Credentials, sign_in
14
13
  from .env import load_env
15
14
  from .pricing import ClaimStatus, PricedService, Pricing, status_new
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "mphapi"
3
- version = "1.17.1"
3
+ version = "1.17.2"
4
4
  description = "A Python interface to the MyPriceHealth API"
5
5
  authors = ["David Archibald <davidarchibald@myprice.health>"]
6
6
 
@@ -17,10 +17,7 @@ coverage = "^7.10.4"
17
17
  black = "^25.1.0"
18
18
  isort = "^6.0.1"
19
19
  flake8 = "^7.3.0"
20
- pyright = { extras = ["nodejs"], version = "^1.1.406" }
21
-
22
- [tool.pyright]
23
- typeCheckingMode = "strict"
20
+ pyright = "^1.1.403"
24
21
 
25
22
  [build-system]
26
23
  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