add func parm type
This commit is contained in:
@@ -61,13 +61,13 @@ class DummySha256Authorizer(DummyAuthorizer):
|
||||
class ASEHandler(FTPHandler):
|
||||
"""Custom FTP handler that extends FTPHandler with custom commands and file handling."""
|
||||
|
||||
def __init__(self: object, conn: object, server: object, ioloop=None) -> None:
|
||||
def __init__(self: object, conn: object, server: object, ioloop:object=None) -> None:
|
||||
"""Initializes the handler, adds custom commands, and sets up command permissions.
|
||||
|
||||
Args:
|
||||
conn: The connection object.
|
||||
server: The FTP server object.
|
||||
ioloop: The I/O loop object.
|
||||
conn (object): The connection object.
|
||||
server (object): The FTP server object.
|
||||
ioloop (object): The I/O loop object.
|
||||
"""
|
||||
super().__init__(conn, server, ioloop)
|
||||
self.proto_cmds = FTPHandler.proto_cmds.copy()
|
||||
|
||||
Reference in New Issue
Block a user