diff --git a/pyinfra/server/rest.py b/pyinfra/server/rest.py index 4ddcbe8..3e2c6cd 100644 --- a/pyinfra/server/rest.py +++ b/pyinfra/server/rest.py @@ -1,7 +1,6 @@ import logging -from _operator import methodcaller, itemgetter from itertools import repeat, chain, starmap, takewhile -from operator import itemgetter +from operator import itemgetter, methodcaller from typing import Iterable, Dict, List, Callable, Union, Tuple import requests