uplid 1.1.0__py3-none-any.whl → 1.1.1__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.
uplid/uplid.py CHANGED
@@ -7,7 +7,6 @@ from datetime import UTC
7
7
  from datetime import datetime as dt_datetime
8
8
  from typing import (
9
9
  TYPE_CHECKING,
10
- Any,
11
10
  LiteralString,
12
11
  Protocol,
13
12
  Self,
@@ -263,7 +262,7 @@ class UPLID[PREFIX: LiteralString]:
263
262
  """Return self (UPLIDs are immutable)."""
264
263
  return self
265
264
 
266
- def __deepcopy__(self, memo: dict[int, Any]) -> Self:
265
+ def __deepcopy__(self, memo: object) -> Self:
267
266
  """Return self (UPLIDs are immutable)."""
268
267
  return self
269
268
 
@@ -351,8 +350,8 @@ class UPLID[PREFIX: LiteralString]:
351
350
  @classmethod
352
351
  def __get_pydantic_core_schema__(
353
352
  cls,
354
- source_type: Any, # noqa: ANN401
355
- handler: Any, # noqa: ANN401
353
+ source_type: type[Self],
354
+ handler: object,
356
355
  ) -> CoreSchema:
357
356
  """Pydantic integration for validation and serialization.
358
357
 
@@ -383,7 +382,7 @@ class UPLID[PREFIX: LiteralString]:
383
382
 
384
383
  prefix_str: str = prefix_args[0]
385
384
 
386
- def validate(v: UPLID[Any] | str) -> UPLID[Any]:
385
+ def validate(v: UPLIDType | str) -> UPLIDType:
387
386
  if isinstance(v, str):
388
387
  return cls.from_string(v, prefix_str)
389
388
  if isinstance(v, UPLID):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uplid
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Universal Prefixed Literal IDs - type-safe, human-readable identifiers
5
5
  Keywords: uuid,id,identifier,pydantic,type-safe,uuid7
6
6
  Author: ZVS
@@ -0,0 +1,7 @@
1
+ uplid/__init__.py,sha256=gtEVlE30N9TrHaTEpinM5t428HT6NzGjMTDq6ABsKMY,281
2
+ uplid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ uplid/sqlalchemy.py,sha256=FFELyg-7GCUPPiSBncIXSHEkoAaxxoqK1IYvS8Ja5Bg,6311
4
+ uplid/uplid.py,sha256=s4g81Vko5041EJsiYka2mVL7uNoCcfqoH-cU5Ka3b6o,15803
5
+ uplid-1.1.1.dist-info/WHEEL,sha256=5DEXXimM34_d4Gx1AuF9ysMr1_maoEtGKjaILM3s4w4,80
6
+ uplid-1.1.1.dist-info/METADATA,sha256=HaGgGzwuQWKs316WoLjpWn2ffD75UqHSz5UTnWyJ3q8,6241
7
+ uplid-1.1.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.9.28
2
+ Generator: uv 0.9.29
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,7 +0,0 @@
1
- uplid/__init__.py,sha256=gtEVlE30N9TrHaTEpinM5t428HT6NzGjMTDq6ABsKMY,281
2
- uplid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- uplid/sqlalchemy.py,sha256=FFELyg-7GCUPPiSBncIXSHEkoAaxxoqK1IYvS8Ja5Bg,6311
4
- uplid/uplid.py,sha256=Gj2sDzOG4vC3HlXoHZzHdhg2ht5stpzE1E15HLS54sg,15844
5
- uplid-1.1.0.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
6
- uplid-1.1.0.dist-info/METADATA,sha256=wddvXPWjuXsMr_wX9UDXaB1M8_hqMdkS-HxUGQ5-clA,6241
7
- uplid-1.1.0.dist-info/RECORD,,