

def initialize_write(self, filename, client_host, client_port):
    "For a write request, finds the appropriate action and returns it.\n        This is different than a read request in that the action is invoked at\n        the end of the file transfer.\n\n        Args:\n            filename: The filename included in the client's request.\n            client_host: The host of the client connecting.\n            client_port: The port of the client connecting.\n\n        Returns:\n            An action that is to be run at the end of a write request file\n            transfer. If there is no corresponding action, returns None.\n        "
    return self.find_action(self.write_rules, client_port)

dataset/ETHPy150Open dropbox/emmer/emmer/response_router.py ResponseRouter.initialize_write/VarMisuse@27/231 `filename`->`client_port`