#!/usr/bin/python
# -*- coding: utf-8 -*-
from dataclasses import dataclass
@dataclass
class DataEngineer:
"""Makes data pipelines and do magic"""
name: str = "Jonas Ferreira"
role: str = "Data Engineer"
location: str = "Brazil"
knowledge_base: list = [
"Data Engineering",
"Machine Learning",
"Cloud Platforms"
]
def __post_init__(self):
self.knowledge_base.insert(0, "Clean Code")
def say_hello(self):
print(f"""Hey, whats up? My name is {self.name} and i live in {self.location}.
Nowadays i am working as a {role} and recently I am focusing on {self.knowledge_base[0]}
and {self.knowledge_base[2]} for my personal and professional growth.""")
me = DataEngineer()
me.say_hello()
jnsferreira / dependency-injection-inversion-example Goto Github PK
View Code? Open in Web Editor NEWThis project forked from arjancodes/2021-dependency-injection-inversion
License: MIT License