diff --git a/collegamento/client_server/client.py b/collegamento/client_server/client.py index f10ff81..d601caf 100644 --- a/collegamento/client_server/client.py +++ b/collegamento/client_server/client.py @@ -12,7 +12,6 @@ from multiprocessing import Process, Queue, freeze_support from random import randint -from time import sleep from .server import Server from .utils import ( diff --git a/docs/source/examples/file_example.rst b/docs/source/examples/file_example.rst index 1b29946..c07beee 100644 --- a/docs/source/examples/file_example.rst +++ b/docs/source/examples/file_example.rst @@ -6,13 +6,7 @@ File Example from time import sleep - from collegamento import ( - USER_FUNCTION, - FileClient, - FileServer, - Request, - Response, - ) + from collegamento import FileClient, FileServer, Request, Response def split_str(server: "FileServer", arg: Request) -> list[str]: diff --git a/docs/source/examples/simple_example.rst b/docs/source/examples/simple_example.rst index 9ef3feb..f842fac 100644 --- a/docs/source/examples/simple_example.rst +++ b/docs/source/examples/simple_example.rst @@ -6,13 +6,7 @@ Simple Example from time import sleep - from collegamento import ( - USER_FUNCTION, - Request, - Response, - Client, - Server, - ) + from collegamento import Client, Request, Response, Server def foo(server: "Server", bar: Request) -> bool: diff --git a/examples/file_example.py b/examples/file_example.py index c9a51b6..3cb8d54 100644 --- a/examples/file_example.py +++ b/examples/file_example.py @@ -1,12 +1,6 @@ from time import sleep -from collegamento import ( - USER_FUNCTION, - FileClient, - FileServer, - Request, - Response, -) +from collegamento import FileClient, FileServer, Request, Response def split_str(server: "FileServer", arg: Request) -> list[str]: diff --git a/examples/simple_example.py b/examples/simple_example.py index 6f189ca..6d36ea3 100644 --- a/examples/simple_example.py +++ b/examples/simple_example.py @@ -1,12 +1,6 @@ from time import sleep -from collegamento import ( - USER_FUNCTION, - Request, - Response, - Client, - Server, -) +from collegamento import Client, Request, Response, Server def foo(server: "Server", bar: Request) -> bool: