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 = '[email protected]'
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.
-
Fishbone Aquatics
- USA
Highlights
- Pro
Pinned Loading
-
Fishbone-Aquatics/Aquarium-Capitalists
Fishbone-Aquatics/Aquarium-Capitalists PublicA game about owning an aquarium shop.
JavaScript 1
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.