Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.06 KB

File metadata and controls

26 lines (19 loc) · 1.06 KB

TODO

Task IDs

  • xxxx? Optional
  • xxxx. Normal
  • xxxx! Critical

Next ID: 11

Open Tasks

  • 10! Switch current __init__ and factory designation (no overloads on __init__), blocks 2.0.0 release.
  • 5. Implement human-friendly __repr__

Done Tasks

  • 9! We introduced Dynamic Type Specialization with the v1.1.0 release. This was based on parameterized generic aliases, but makes isinstance and case patterns impossible for the type checker, blocking #8. Revert to a class based approach.
  • 8! Match/Case and isinstance should work as specified (type checker and runtime)
  • 7! While pydantic "understands" puuid, FastAPI does not. We need to define __get_pydantic_json_schema__.
  • 6! It should not be possible to instanciate ill defined specializations (e.g. PUUIDv4[str], PUUID[str] in runtime)
  • 4. Compute to_string() on demand to reduce overhead during __init__ + add caching
  • 3. Disallow empty prefix (Literal[""])
  • 2. Add Upgrade Notes to CONTRIBUTING.md
  • 1. Make pydantic an optional dependency