Skip to content

Commit f50be6c

Browse files
author
DUYN
committed
Remove unused imports and add type hints
1 parent d74b65a commit f50be6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bot/data/data_provider/data_provider.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import logging
2-
from abc import ABC, abstractmethod
2+
from abc import abstractmethod
33
from pandas import DataFrame
44

55
from bot.events.observable import Observable
@@ -18,7 +18,7 @@ def __init__(self, message: str) -> None:
1818
super().__init__(self)
1919
self.message = message
2020

21-
def __str__(self):
21+
def __str__(self) -> str:
2222
return self.message
2323

2424
def __json__(self):
@@ -29,11 +29,11 @@ def __json__(self):
2929

3030
class DataProvider(Observable):
3131

32-
def __init__(self):
32+
def __init__(self) -> None:
3333
super(DataProvider, self).__init__()
3434
self._data: DataFrame = None
3535

36-
def start(self):
36+
def start(self) -> None:
3737
self._data = self.provide_data()
3838
self.notify_observers()
3939

0 commit comments

Comments
 (0)