summaryrefslogtreecommitdiff
path: root/jfr_playoff/data/tournament/__init__.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-12-30 15:03:56 +0100
committeremkael <emkael@tlen.pl>2019-12-30 15:46:42 +0100
commit5e66c1684a8a2b0597fc2633078c23e212cce228 (patch)
treeaceb836619e4cde2f71cae5a71e27899f9b3a7cf /jfr_playoff/data/tournament/__init__.py
parent9e29356e95c06907ace1239b1367b134155d3167 (diff)
Auto-loading tournament result info client classes
Diffstat (limited to 'jfr_playoff/data/tournament/__init__.py')
-rw-r--r--jfr_playoff/data/tournament/__init__.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/jfr_playoff/data/tournament/__init__.py b/jfr_playoff/data/tournament/__init__.py
index 9ec71dd..ef16e54 100644
--- a/jfr_playoff/data/tournament/__init__.py
+++ b/jfr_playoff/data/tournament/__init__.py
@@ -1,8 +1,7 @@
-class TournamentInfoClient(object):
- def __init__(self, settings, database=None):
- self.settings = settings
- self.database = database
+from jfr_playoff.data.info import ResultInfoClient
+
+class TournamentInfoClient(ResultInfoClient):
def get_results_link(self, suffix):
pass
@@ -11,6 +10,3 @@ class TournamentInfoClient(object):
def get_tournament_results(self):
pass
-
- def get_exceptions(self, method):
- pass