Skip to content

TokenFreezeStatus and other status enums are unhashable — TypeError when used in dicts #2469

Description

@exploreriii

Python's data model sets hash = None whenever a class defines eq without hash, so members of these enums are silently unhashable

Affected classes:

  • TokenFreezeStatus
  • TokenKycStatus
  • TokenPauseStatus
  • FreezeType
  • TokenKeyValidation

Metadata

Metadata

Assignees

Labels

approvedIssue has been approved by team memberskill: beginnerAchievable by a fairly new comer that has already completed a couple of good first issues

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions