python-anvil 3.0.1__py3-none-any.whl → 4.0.0__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.
@@ -3,7 +3,10 @@ import re
3
3
 
4
4
  # Disabling pylint no-name-in-module because this is the documented way to
5
5
  # import `BaseModel` and it's not broken, so let's keep it.
6
- from pydantic import BaseModel as _BaseModel, Extra # pylint: disable=no-name-in-module
6
+ from pydantic.v1 import ( # pylint: disable=no-name-in-module
7
+ BaseModel as _BaseModel,
8
+ Extra,
9
+ )
7
10
 
8
11
 
9
12
  under_pat = re.compile(r"_([a-z])")
@@ -5,7 +5,7 @@ from io import BufferedIOBase
5
5
 
6
6
  # Disabling pylint no-name-in-module because this is the documented way to
7
7
  # import `BaseModel` and it's not broken, so let's keep it.
8
- from pydantic import ( # pylint: disable=no-name-in-module
8
+ from pydantic.v1 import ( # pylint: disable=no-name-in-module
9
9
  Field,
10
10
  HttpUrl,
11
11
  root_validator,
@@ -1,7 +1,7 @@
1
1
  # pylint: disable=unused-variable,unused-argument,too-many-statements
2
2
  import json
3
3
  import pytest
4
- from pydantic import ValidationError
4
+ from pydantic.v1 import ValidationError
5
5
  from typing import Any, MutableMapping
6
6
  from unittest import mock
7
7
 
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
- Name: python-anvil
3
- Version: 3.0.1
2
+ Name: python_anvil
3
+ Version: 4.0.0
4
4
  Summary: Anvil API
5
5
  Home-page: https://www.useanvil.com/
6
6
  License: MIT
7
7
  Keywords: anvil,api,pdf,signing
8
8
  Author: Anvil Foundry Inc.
9
9
  Author-email: developers@useanvil.com
10
- Requires-Python: >=3.7.2,<3.12
10
+ Requires-Python: >=3.8.0,<3.12
11
11
  Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Natural Language :: English
@@ -21,8 +21,8 @@ Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.7
22
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
23
  Requires-Dist: click (>=8.0,<9.0)
24
- Requires-Dist: gql[requests] (==3.5.0b1)
25
- Requires-Dist: pydantic (>=1.8.2,<2.0.0)
24
+ Requires-Dist: gql[requests] (==3.5.0)
25
+ Requires-Dist: pydantic (>=2.8.2,<3.0.0)
26
26
  Requires-Dist: ratelimit (>=2.2.1,<3.0.0)
27
27
  Requires-Dist: requests (>=2.25.0,<3.0.0)
28
28
  Requires-Dist: tabulate (>=0.9.0,<0.10.0)
@@ -1,14 +1,14 @@
1
1
  python_anvil/__init__.py,sha256=hY54dJl0FjAPEVKv_dNJ9wrWy-YHocDHD7WPG-x3Pg4,223
2
2
  python_anvil/api.py,sha256=lyqBapTFLVQOX4L4ryCvpH84riQOfAcQ8Afw2XcyDdc,13709
3
3
  python_anvil/api_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- python_anvil/api_resources/base.py,sha256=Y8Q1mM9RJ27SedmtNA0bzzQoXODpQuFeatY8d6DzWC4,941
4
+ python_anvil/api_resources/base.py,sha256=ICkqWrVsmHjPQvw_2Xmg4s9KEutqjXpiNmrQ3r0nF9k,957
5
5
  python_anvil/api_resources/mutations/__init__.py,sha256=9JOe1MiowInNzCJmuRLBTkVZcT-mOzETMoL5S_E_Y84,177
6
6
  python_anvil/api_resources/mutations/base.py,sha256=qYo_vwhNrFY-azvze_llQiz7P5KcuREjNjGPrleBbT4,588
7
7
  python_anvil/api_resources/mutations/create_etch_packet.py,sha256=3FHjzc0EPXJQBwMxLglkEkvbQCi_FWjl8DbMcbWJdOw,9271
8
8
  python_anvil/api_resources/mutations/forge_submit.py,sha256=i4EYPXVdZpYP3gmsiM3ltrmvsAF1Q11vlgn1Sn28PNM,3584
9
9
  python_anvil/api_resources/mutations/generate_etch_signing_url.py,sha256=O3uBgHmd5WStuHtn6I54ujFjSbQFbP_E7zE9BlGV-yg,737
10
10
  python_anvil/api_resources/mutations/helpers.py,sha256=-Us_rfqnXRR6aVwc6wBBwoXluppNkIchccAdvQINTnI,211
11
- python_anvil/api_resources/payload.py,sha256=F5WUlFZdgPrwEKbcDPoiEbGCuWGJ-DCZeRizKq6WFCY,9006
11
+ python_anvil/api_resources/payload.py,sha256=66aFK6FAGAMC4WUnJ6b6RA6iATAezIuyd6J9tNwrpOM,9009
12
12
  python_anvil/api_resources/requests.py,sha256=X5YUV_DBBryWqhEkxXzJFphMx2HVqcUd1ZzJ7b9iHk0,5146
13
13
  python_anvil/cli.py,sha256=X6g5L41z5nszLIvOOQYTVdBrkQxweluqAzY2WKq3R0c,10337
14
14
  python_anvil/constants.py,sha256=MxuTbJf6PPa7_2P_SqyaXrqO0Nwo-8EwP6bA0FTvG7A,339
@@ -18,13 +18,13 @@ python_anvil/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
18
18
  python_anvil/tests/__init__.py,sha256=LURUPwwDqcFmVe1XvEzadPdXxro8RdEF-rTaMw-AfiI,34
19
19
  python_anvil/tests/conftest.py,sha256=Noz5CUwT-xh2CJNKsYyu_bUFaoMMKavOiAuhHzZeOp8,267
20
20
  python_anvil/tests/payloads.py,sha256=bn__agyTyRl6Lw0nZPRLvpjErt1mElDZQ5T2WteqcOU,2367
21
- python_anvil/tests/test_api.py,sha256=aIoAVs3DGVRLDbmW27ZCzUtJr-HHaAyFpBaM3d3VrQw,17441
21
+ python_anvil/tests/test_api.py,sha256=CN0E352QpoqCAqmo70KX2c5W_LCbW0jkyNFNAPe5CSg,17444
22
22
  python_anvil/tests/test_cli.py,sha256=Ghnqx2q0V0w-Y9aWGaMpi6_OTo8x7E7NaSkfjVLZixY,3845
23
23
  python_anvil/tests/test_http.py,sha256=4BLJ0A7HKWq-9_NKoUmHKiBwbNLasig6ppGMhYJIisQ,4908
24
24
  python_anvil/tests/test_utils.py,sha256=VQ3u0WQd7Oa_aMRF-GibRKqAlo3Bf62tHH6auCBF5o4,1352
25
25
  python_anvil/utils.py,sha256=xKbrMV6RnPMz_5eEnD-N1uvUn9895yiUhjSIUUnh13w,1103
26
- python_anvil-3.0.1.dist-info/LICENSE.md,sha256=0Z9mdiVAIMBp50iEbXt4bDHqlnAwAfKbj9Yi2b6O8fo,1091
27
- python_anvil-3.0.1.dist-info/METADATA,sha256=cVLWTK41GBsU033ejHlDi2rartdu7Nv3eJ1Z5aBDSNA,3346
28
- python_anvil-3.0.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
29
- python_anvil-3.0.1.dist-info/entry_points.txt,sha256=nf_xgj2f9K2Zascpk2MtOP-CT2fmKc1xUDWnTdq4P_Y,46
30
- python_anvil-3.0.1.dist-info/RECORD,,
26
+ python_anvil-4.0.0.dist-info/LICENSE.md,sha256=0Z9mdiVAIMBp50iEbXt4bDHqlnAwAfKbj9Yi2b6O8fo,1091
27
+ python_anvil-4.0.0.dist-info/METADATA,sha256=EUDIGe34r_1Y5iwgcgMNaIDo2HJTxB-z26fySXlgXGI,3344
28
+ python_anvil-4.0.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
29
+ python_anvil-4.0.0.dist-info/entry_points.txt,sha256=nf_xgj2f9K2Zascpk2MtOP-CT2fmKc1xUDWnTdq4P_Y,46
30
+ python_anvil-4.0.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.6.1
2
+ Generator: poetry-core 1.8.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any