Skip to content

Commit 8da5648

Browse files
committed
do not accept *args in __init__()
1 parent 7b97de8 commit 8da5648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_server/services/contents/fileidmanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ class FileIdManager(LoggingConfigurable):
4444
config=True,
4545
)
4646

47-
def __init__(self, *args, **kwargs):
47+
def __init__(self, **kwargs):
4848
# pass args and kwargs to parent Configurable
49-
super().__init__(*args, **kwargs)
49+
super().__init__(**kwargs)
5050
# initialize connection with db
5151
self.con = sqlite3.connect(self.db_path)
5252
self.log.debug("FileIdManager : Creating File ID tables and indices")

0 commit comments

Comments
 (0)