From c2bf9bf5510fb73c0a82bcb43f45ca9efd3fbc36 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Tue, 2 Nov 2021 19:34:55 -0400 Subject: [PATCH] event_loop: add create_future method Signed-off-by: Eric Callahan --- moonraker/eventloop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moonraker/eventloop.py b/moonraker/eventloop.py index 7ce48a5..598e30f 100644 --- a/moonraker/eventloop.py +++ b/moonraker/eventloop.py @@ -13,6 +13,7 @@ from typing import ( TYPE_CHECKING, Callable, Coroutine, + List, Optional, TypeVar ) @@ -32,6 +33,7 @@ class EventLoop: self.remove_reader = self.aioloop.remove_reader self.remove_writer = self.aioloop.remove_writer self.get_loop_time = self.aioloop.time + self.create_future = self.aioloop.create_future def register_callback(self, callback: FlexCallback,