Papaflessas's picture
Deploy Signal Generator app
3fe0726
class Article:
def __init__(self, url: str, title: str, description: str, score: float, ticker: str,time:str):
self.url = url
self.title = title
self.description = description
self.score = score
self.ticker = ticker
self.time=time
def __repr__(self):
return self.__print__()
def __print__(self):
return f"Article(title={self.title}, url={self.url}, score={self.score}, ticker={self.ticker}, time={self.time})"