Skip to content

Instantly share code, notes, and snippets.

from dataclasses import dataclass
from typing import List
@dataclass
class Employee:
salary: int
years_in_company: int
@dataclass
class Engineer(Employee):
from dataclasses import dataclass
from typing import List
@dataclass
class Employee:
salary: int
years_in_company: int
@dataclass
class Engineer(Employee):