amati 0.3.29__py3-none-any.whl → 0.3.30__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.
amati/fields/uri.py CHANGED
@@ -2,7 +2,7 @@
2
2
  Validates a URI according to the RFC3986 ABNF grammar
3
3
  """
4
4
 
5
- from enum import Enum
5
+ from enum import StrEnum
6
6
  from typing import ClassVar, Self, cast
7
7
 
8
8
  import idna
@@ -65,7 +65,7 @@ class Scheme(_Str):
65
65
  self.status = SCHEMES.get(value)
66
66
 
67
67
 
68
- class URIType(str, Enum):
68
+ class URIType(StrEnum):
69
69
  """Enumeration of URI reference types.
70
70
 
71
71
  Categorizes different types of URI references as defined in RFC 3986,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amati
3
- Version: 0.3.29
3
+ Version: 0.3.30
4
4
  Summary: Validates that a .yaml or .json file conforms to the OpenAPI Specifications 3.x.
5
5
  Project-URL: Homepage, https://github.com/gwyli/amati
6
6
  Project-URL: Issues, https://github.com/gwyli/amati/issues
@@ -31,7 +31,7 @@ amati/fields/json.py,sha256=TsNMW5gcCc3tpjDd0Sew_8okzDQu6S_FLKjGGvoRVos,304
31
31
  amati/fields/media.py,sha256=4yJpri5C58_FEOKbchtPoywI_6VdmdCBYWtNP7dx-D8,3077
32
32
  amati/fields/oas.py,sha256=a1GGR2s8a5ajPAnKTd7WGnQXzayR2zjIlxggFCiiwow,1744
33
33
  amati/fields/spdx_licences.py,sha256=Hj2cKnyD0WjYe9lZe0tn7Ct4TcHlFJgcUN1D8sHJLKM,2676
34
- amati/fields/uri.py,sha256=RYEe3GUHXVHvbbt-TQZwwLZ4SqvA4v7hGR_ZkHmFXrM,12392
34
+ amati/fields/uri.py,sha256=oXpbqT1NmxNlBzcs31MhTskVEoBtPjmt7dq4p9DnLWA,12393
35
35
  amati/grammars/oas.py,sha256=bZ84rwK-J1xaKjkeM8Z47VzhonhODGf-Cga1J6HdSUs,1678
36
36
  amati/grammars/rfc6901.py,sha256=vQPk-JROikiB6Qzujs9EDszYbpRggc5EA1vkkGNJ36U,642
37
37
  amati/grammars/rfc7159.py,sha256=ZYPGKh7zpcrZO7FA8pysUJ4jav2yq4WxFyi7r2GbjDY,2204
@@ -40,8 +40,8 @@ amati/validators/_discriminators.py,sha256=XR9oJq3KHfoNNJLQyCLkU6aJdHrCvm6BR7qPR
40
40
  amati/validators/generic.py,sha256=EcQBxWaoUhytN7MGQAKOF77eF5mf_pIqRI8mTUf5UeY,5513
41
41
  amati/validators/oas304.py,sha256=Ee0RuCxnj3jAZOm2zGX_uEV3lRw70v8Aa3wIANVeJGM,34198
42
42
  amati/validators/oas311.py,sha256=OKL1UAdZ_GXYcGQPEBoKbGXCN_ywnMxqfSzRwM5jAMM,18952
43
- amati-0.3.29.dist-info/METADATA,sha256=Hd6-Jp-A6-N3jS-ofGmChXR9NuFB51qwCmZ7UR6W8_4,7087
44
- amati-0.3.29.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
45
- amati-0.3.29.dist-info/entry_points.txt,sha256=sacBb6g0f0ZJtNjNYx93_Xe4y5xzawvklCFVXup9ru0,37
46
- amati-0.3.29.dist-info/licenses/LICENSE,sha256=WAA01ZXeNs1bwpNWKR6aVucjtYjYm_iQIUYkCAENjqM,1070
47
- amati-0.3.29.dist-info/RECORD,,
43
+ amati-0.3.30.dist-info/METADATA,sha256=sxzbgABlJ29lhc9NarhC1gXLHlTWQO05N_1_l797hiY,7087
44
+ amati-0.3.30.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
45
+ amati-0.3.30.dist-info/entry_points.txt,sha256=sacBb6g0f0ZJtNjNYx93_Xe4y5xzawvklCFVXup9ru0,37
46
+ amati-0.3.30.dist-info/licenses/LICENSE,sha256=WAA01ZXeNs1bwpNWKR6aVucjtYjYm_iQIUYkCAENjqM,1070
47
+ amati-0.3.30.dist-info/RECORD,,
File without changes