from dataclasses import dataclass, field
from typing import List, Dict, Union
def create_field(values: Union[list[str], dict]):
return field(default_factory=lambda: values)
@dataclass
class Person:
name: str = 'justin'
age: int = 32
email: str = 'jmksobieski@gmail.com'
discord: str = 'probsdad'
pronouns: List = create_field(["him", "he"])
code: List = create_field(["Javascript", "HTML", "React", "Python", "PHP"])
technologyInterests: List = create_field(["Automation", "APIs", "OSCP", "Kernal Injection"])
pursuing: str = 'Bachelor of Science in Computer Science'
currentWork: str = 'Support Engineer'
goals: Dict = create_field({"collect": "the fish", "youToRunThis": f'mailto:?to='})
def contact(self):
response = f"You can contact me by email at, " \
f"{self.goals.get('youToRunThis')}{self.email} " \
f"or discord at {self.discord}."
return response
me = Person()
print(me.contact())
👻
Living life one circuit at a time.
Programming, Aquariums. Dad.
-
Fishbone Aquatics
- USA
Highlights
- Pro
Pinned Loading
-
Fishbone-Aquatics/aquarium-autobattler
Fishbone-Aquatics/aquarium-autobattler PublicAn underwater auto-battler where fish and aquatic creatures compete for dominance in the reef. Build your perfect aquatic team, upgrade your creatures, and watch them battle automatically against o…
TypeScript
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.







