Agent-Hellboy / Agent-Hellboy/trace-dkey
Frozen dataclass can be hashable
Ouverte
enhancement
hacktoberfest
- Langage dominant
- Python
- Étoiles
- 8
- Forks
- 6
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```py
from dataclasses import dataclass
@dataclass(frozen=True)
class Data:
a: int
b: int
data1 = Data(1,2)
print(data1)
dict = {data1: "firstdata"}
print(dict)
```
For now, we need a different branch to handle this scenario, and as we can assume this one is also `_ast.Call` object
we need to add a new branch for _ast.Call for frozen type which can be hashable
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.