amyeroberts HF staff commited on
Commit
bf7dd81
1 Parent(s): dd2bd16

Update debug_25192_upload_a_tool.py

Browse files
Files changed (1) hide show
  1. debug_25192_upload_a_tool.py +2 -2
debug_25192_upload_a_tool.py CHANGED
@@ -35,8 +35,8 @@ class PostgreSQLTool(Tool):
35
  database = None
36
  cursor = None
37
 
38
- def __init__(self, debug: bool = False):
39
- super().__init__()
40
  self.debug = debug
41
 
42
  def connect(self, host: str, database: str, user: str, password: str, port: int = 5432):
 
35
  database = None
36
  cursor = None
37
 
38
+ def __init__(self, debug: bool = False, **kwargs):
39
+ super().__init__(**kwargs)
40
  self.debug = debug
41
 
42
  def connect(self, host: str, database: str, user: str, password: str, port: int = 5432):