payi 0.1.0a31__py3-none-any.whl → 0.1.0a32__py3-none-any.whl
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.
Potentially problematic release.
This version of payi might be problematic. Click here for more details.
- payi/__init__.py +2 -1
- payi/_types.py +2 -4
- payi/_version.py +1 -1
- {payi-0.1.0a31.dist-info → payi-0.1.0a32.dist-info}/METADATA +5 -4
- {payi-0.1.0a31.dist-info → payi-0.1.0a32.dist-info}/RECORD +7 -7
- {payi-0.1.0a31.dist-info → payi-0.1.0a32.dist-info}/WHEEL +0 -0
- {payi-0.1.0a31.dist-info → payi-0.1.0a32.dist-info}/licenses/LICENSE +0 -0
payi/__init__.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
from . import types
|
|
4
|
-
from ._types import NOT_GIVEN, NoneType, NotGiven, Transport, ProxiesTypes
|
|
4
|
+
from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes
|
|
5
5
|
from ._utils import file_from_path
|
|
6
6
|
from ._client import Payi, Client, Stream, Timeout, AsyncPayi, Transport, AsyncClient, AsyncStream, RequestOptions
|
|
7
7
|
from ._models import BaseModel
|
|
@@ -36,6 +36,7 @@ __all__ = [
|
|
|
36
36
|
"ProxiesTypes",
|
|
37
37
|
"NotGiven",
|
|
38
38
|
"NOT_GIVEN",
|
|
39
|
+
"Omit",
|
|
39
40
|
"PayiError",
|
|
40
41
|
"APIError",
|
|
41
42
|
"APIStatusError",
|
payi/_types.py
CHANGED
|
@@ -192,10 +192,8 @@ ResponseT = TypeVar(
|
|
|
192
192
|
StrBytesIntFloat = Union[str, bytes, int, float]
|
|
193
193
|
|
|
194
194
|
# Note: copied from Pydantic
|
|
195
|
-
# https://github.com/pydantic/pydantic/blob/
|
|
196
|
-
IncEx: TypeAlias = Union[
|
|
197
|
-
Set[int], Set[str], Mapping[int, Union["IncEx", Literal[True]]], Mapping[str, Union["IncEx", Literal[True]]]
|
|
198
|
-
]
|
|
195
|
+
# https://github.com/pydantic/pydantic/blob/6f31f8f68ef011f84357330186f603ff295312fd/pydantic/main.py#L79
|
|
196
|
+
IncEx: TypeAlias = Union[Set[int], Set[str], Mapping[int, Union["IncEx", bool]], Mapping[str, Union["IncEx", bool]]]
|
|
199
197
|
|
|
200
198
|
PostParser = Callable[[Any], Any]
|
|
201
199
|
|
payi/_version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: payi
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a32
|
|
4
4
|
Summary: The official Python library for the payi API
|
|
5
5
|
Project-URL: Homepage, https://github.com/Pay-i/pay-i-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Pay-i/pay-i-python
|
|
@@ -314,18 +314,19 @@ can also get all the extra fields on the Pydantic model as a dict with
|
|
|
314
314
|
|
|
315
315
|
You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
|
|
316
316
|
|
|
317
|
-
- Support for proxies
|
|
318
|
-
- Custom transports
|
|
317
|
+
- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
|
|
318
|
+
- Custom [transports](https://www.python-httpx.org/advanced/transports/)
|
|
319
319
|
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
|
|
320
320
|
|
|
321
321
|
```python
|
|
322
|
+
import httpx
|
|
322
323
|
from payi import Payi, DefaultHttpxClient
|
|
323
324
|
|
|
324
325
|
client = Payi(
|
|
325
326
|
# Or use the `PAYI_BASE_URL` env var
|
|
326
327
|
base_url="http://my.test.server.example.com:8083",
|
|
327
328
|
http_client=DefaultHttpxClient(
|
|
328
|
-
|
|
329
|
+
proxy="http://my.test.proxy.example.com",
|
|
329
330
|
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
|
|
330
331
|
),
|
|
331
332
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
payi/__init__.py,sha256=
|
|
1
|
+
payi/__init__.py,sha256=_eeZx9fx2Wp81adXh7qrpkmXCso7TiRSvIlLkQ0sQhY,2399
|
|
2
2
|
payi/_base_client.py,sha256=s3JMTpYuiwtp-jn6iB79v4iuCc29C1Rr38el1IXMtHs,68034
|
|
3
3
|
payi/_client.py,sha256=pulFUK9yWV2ROjJLT1-NjSky6kFEukMilSnv4d1xkrc,18554
|
|
4
4
|
payi/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
|
@@ -10,8 +10,8 @@ payi/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
|
|
10
10
|
payi/_resource.py,sha256=j2jIkTr8OIC8sU6-05nxSaCyj4MaFlbZrwlyg4_xJos,1088
|
|
11
11
|
payi/_response.py,sha256=9ZpP3Agz-3ReY0RSJo7O7BAwD0UluwRsTSvljdTh1dg,28597
|
|
12
12
|
payi/_streaming.py,sha256=Z_wIyo206T6Jqh2rolFg2VXZgX24PahLmpURp0-NssU,10092
|
|
13
|
-
payi/_types.py,sha256=
|
|
14
|
-
payi/_version.py,sha256=
|
|
13
|
+
payi/_types.py,sha256=2mbMK86K3W1aMTW7sOGQ-VND6-A2IuXKm8p4sYFztBU,6141
|
|
14
|
+
payi/_version.py,sha256=elxZL5z6mI-Uf813CkCOghXXO87WmDeXgzSD-axaox8,165
|
|
15
15
|
payi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
payi/_utils/__init__.py,sha256=k266EatJr88V8Zseb7xUimTlCeno9SynRfLwadHP1b4,2016
|
|
17
17
|
payi/_utils/_logs.py,sha256=fmnf5D9TOgkgZKfgYmSa3PiUc3SZgkchn6CzJUeo0SQ,768
|
|
@@ -99,7 +99,7 @@ payi/types/experiences/type_list_response.py,sha256=DgkPLw40oUqBETLePVMVenstMsGG
|
|
|
99
99
|
payi/types/experiences/type_update_params.py,sha256=izwlElQB-jeFFX3K6S2TqVUMmhU0KTmwScQ5aoHZH0M,361
|
|
100
100
|
payi/types/requests/__init__.py,sha256=K4qfrWMIIg1-UNB0Vu5UdGEmf6TWoF-i3gPc_LT78D8,204
|
|
101
101
|
payi/types/requests/property_create_params.py,sha256=ef4XiTAa03FO_RuRQ8WbDZhNqzcfhaysnDb1HtObbB4,348
|
|
102
|
-
payi-0.1.
|
|
103
|
-
payi-0.1.
|
|
104
|
-
payi-0.1.
|
|
105
|
-
payi-0.1.
|
|
102
|
+
payi-0.1.0a32.dist-info/METADATA,sha256=Q90gYPb5TS_Qbq5kvh4jgtZPzpsBiA5hKM5nXPpN5zM,12456
|
|
103
|
+
payi-0.1.0a32.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
104
|
+
payi-0.1.0a32.dist-info/licenses/LICENSE,sha256=8vX1pjh3esb6D5DvXAf6NxiBcVyon8aHWNJCxmmHXeY,11334
|
|
105
|
+
payi-0.1.0a32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|