sovereign 0.29.1__py3-none-any.whl → 0.29.2__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 sovereign might be problematic. Click here for more details.

sovereign/schemas.py CHANGED
@@ -295,9 +295,7 @@ class Resources(List[str]):
295
295
  """
296
296
 
297
297
  def __contains__(self, item: object) -> bool:
298
- if (
299
- len(self) == 0
300
- ): # TODO: refactor to remove overriding __contains__; its being used in multiple places
298
+ if len(self) == 0:
301
299
  return True
302
300
  return super().__contains__(item)
303
301
 
@@ -317,7 +315,7 @@ class DiscoveryRequest(BaseModel):
317
315
  version_info: str = Field(
318
316
  "0", title="The version of the envoy clients current configuration"
319
317
  )
320
- resource_names: Resources = Field(
318
+ resource_names: List[str] = Field(
321
319
  default_factory=resources_factory, title="List of requested resource names"
322
320
  )
323
321
  hide_private_keys: bool = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sovereign
3
- Version: 0.29.1
3
+ Version: 0.29.2
4
4
  Summary: Envoy Proxy control-plane written in Python
5
5
  Home-page: https://pypi.org/project/sovereign/
6
6
  License: Apache-2.0
@@ -38,7 +38,7 @@ Requires-Dist: cachelib (>=0.10.2,<0.11.0)
38
38
  Requires-Dist: cachetools (>=5.3.2,<6.0.0)
39
39
  Requires-Dist: cashews[redis] (>=6.3.0,<7.0.0) ; extra == "caching"
40
40
  Requires-Dist: croniter (>=1.4.1,<2.0.0)
41
- Requires-Dist: cryptography (>=43.0.1,<44.0.0)
41
+ Requires-Dist: cryptography (>=42.0.0,<43.0.0)
42
42
  Requires-Dist: datadog (>=0.47.0,<0.48.0) ; extra == "statsd"
43
43
  Requires-Dist: fastapi (>=0.110.0,<0.111.0)
44
44
  Requires-Dist: glom (>=23.3.0,<24.0.0)
@@ -17,7 +17,7 @@ sovereign/middlewares.py,sha256=UoLdfhqMj_E6jXgtr-n0maQIBYe9n95s3BwaQZfebHo,3097
17
17
  sovereign/modifiers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  sovereign/modifiers/lib.py,sha256=DbXsxrrjnFE4Y7rbwpeiM5tS5w5NBwSdYH58AtDTP0I,2884
19
19
  sovereign/response_class.py,sha256=beMAFV-4L6DwyWzJzy71GkEW4gb7fzH1jd8-Tul13cU,427
20
- sovereign/schemas.py,sha256=nkpMVLwdtODmyfbwu5PEExxFKFLY3H0Oj4mqB9HJnfI,31552
20
+ sovereign/schemas.py,sha256=U0PDgTPz1cY92sHyI-WzncyxXY3YjlpNhyAy1d1w7Yk,31441
21
21
  sovereign/server.py,sha256=z8Uz1UYIZix0S40Srk774WIMDN2jl2SozO8irib0wc4,1402
22
22
  sovereign/sources/__init__.py,sha256=g9hEpFk8j5i1ApHQpbc9giTyJW41Ppgsqv5P9zGxOJk,78
23
23
  sovereign/sources/file.py,sha256=prUThsDCSPNwZaZpkKXhAm-GVRZWbBoGKGU0It4HHXs,690
@@ -58,8 +58,8 @@ sovereign/views/crypto.py,sha256=o8NSyiUBy7v1pMOXt_1UBi68FNcGkXSlEVg9C18y8kY,332
58
58
  sovereign/views/discovery.py,sha256=9TyXfS3nW7I7Bkeg-KdsTeCm1N9WSCvDj_pTAi1V4bo,6067
59
59
  sovereign/views/healthchecks.py,sha256=_WkMunlrFpqGTLgtNtRr7gCsDCv5kiuYxCyTi-dMEKM,1357
60
60
  sovereign/views/interface.py,sha256=TFXbYp5oXZPRkVnAo-NWQFBb8XMtB519FaV78ludCcI,7055
61
- sovereign-0.29.1.dist-info/LICENSE.txt,sha256=2X125zvAb9AYLjCgdMDQZuufhm0kwcg31A8pGKj_-VY,560
62
- sovereign-0.29.1.dist-info/METADATA,sha256=L-Jn-sqfELFxS3Pu-VuG7tM6ZHvt1-j3uyXhtH4MpC0,6607
63
- sovereign-0.29.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
64
- sovereign-0.29.1.dist-info/entry_points.txt,sha256=2mUHQjqeXEokMF6ZjDmvqQ9Fxk-Or2S4eC0h70ZxKmk,1201
65
- sovereign-0.29.1.dist-info/RECORD,,
61
+ sovereign-0.29.2.dist-info/LICENSE.txt,sha256=2X125zvAb9AYLjCgdMDQZuufhm0kwcg31A8pGKj_-VY,560
62
+ sovereign-0.29.2.dist-info/METADATA,sha256=b_okuWSnbZzVsqLyuvpVIMVyeR2A_5gTruNhzRaKppY,6607
63
+ sovereign-0.29.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
64
+ sovereign-0.29.2.dist-info/entry_points.txt,sha256=2mUHQjqeXEokMF6ZjDmvqQ9Fxk-Or2S4eC0h70ZxKmk,1201
65
+ sovereign-0.29.2.dist-info/RECORD,,