Skip to content
Snippets Groups Projects

Replace Dict[str, bytes] with a TypedDict to represent dicts of hashes

Merged vlorentz requested to merge generated-differential-D8126-source into master

Unfortunately, this requires jumping through a few hoops (cast() and # type: ignore) as mypy does not allow d[k] when d is a typed dict and k is not a literal string.


Migrated from D8126 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading