refactor nothing part 2

This commit is contained in:
Julius Unverfehrt 2022-07-11 10:33:34 +02:00
parent f6cd0ef986
commit 36c8ca48a8
5 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ import pytest
from PIL import Image
from funcy import lmap, compose, flatten, lflatten, omit, second, first, lzip, merge
from pyinfra.server.dispatcher.dispatcher import Nothing
from pyinfra.server.nothing import Nothing
from pyinfra.server.normalization import normalize_item
from pyinfra.server.packing import pack, unpack
from pyinfra.utils.func import star, lift, lstarlift

View File

@ -14,7 +14,7 @@ from PIL import Image
from funcy import retry, project, omit
from waitress import serve
from pyinfra.server.dispatcher.dispatcher import Nothing
from pyinfra.server.nothing import Nothing
from pyinfra.server.server import (
set_up_processing_server,
)

View File

@ -3,7 +3,7 @@ from funcy import compose, lmapcat, compact, flatten, identity
from pyinfra.exceptions import NoBufferCapacity
from pyinfra.server.buffering.bufferize import bufferize
from pyinfra.server.dispatcher.dispatcher import Nothing
from pyinfra.server.nothing import Nothing
def test_buffer(buffer_size):

View File

@ -3,7 +3,7 @@ from funcy import rcompose, compose, project, merge
from pyinfra.server.buffering.stream import FlatStreamBuffer
from pyinfra.server.client_pipeline import ClientPipeline
from pyinfra.server.dispatcher.dispatcher import Nothing
from pyinfra.server.nothing import Nothing
from pyinfra.server.dispatcher.dispatchers.queue import QueuedStreamFunctionDispatcher
from pyinfra.server.dispatcher.dispatchers.rest import RestDispatcher
from pyinfra.server.interpreter.interpreters.identity import IdentityInterpreter

View File

@ -2,7 +2,7 @@ import pytest
from funcy import repeatedly, takewhile, notnone, lmap, lmapcat, lflatten
from pyinfra.server.buffering.stream import FlatStreamBuffer, StreamBuffer
from pyinfra.server.dispatcher.dispatcher import Nothing
from pyinfra.server.nothing import Nothing
from pyinfra.server.stream.queued_stream_function import QueuedStreamFunction
from pyinfra.utils.func import lift, foreach, starlift