From 463e1b202451ac7887e8869d8bbc15f298d8f2f0 Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Wed, 4 May 2022 12:14:30 +0200 Subject: [PATCH] corrected imports --- pyinfra/server/rest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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