Skip to content

Instantly share code, notes, and snippets.

View tsunday's full-sized avatar

Tomasz Niedziela-Brach tsunday

View GitHub Profile
@tsunday
tsunday / django-owasp.md
Created April 25, 2021 21:45
django-owasp
@tsunday
tsunday / data_classes.py
Created July 18, 2018 21:17
Playing around with a new dataclasses module
from dataclasses import dataclass, field, asdict
@dataclass(order=True)
class City:
name: str = field(compare=False)
citizens: int
area: float
zamosc = City('Zamość', 65, 30)