Skip to content

Commit 1e6e992

Browse files
committed
compas.rpc
1 parent 5540ba7 commit 1e6e992

5 files changed

Lines changed: 1 addition & 22 deletions

File tree

src/compas/rpc/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@
88
A typical use case is to run algorithms that require packages like ``numpy`` or ``scipy`` on a remote server,
99
when working in Rhino. Or to use COMPAS in a browser application.
1010
"""
11-
12-
from __future__ import absolute_import
11+
# ruff: noqa: F401
1312

1413
from .errors import RPCClientError, RPCServerError
1514
from .proxy import Proxy
1615
from .server import Server
1716
from .dispatcher import Dispatcher
18-
19-
20-
__all__ = ["RPCClientError", "RPCServerError", "Proxy", "Server", "Dispatcher"]

src/compas/rpc/dispatcher.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
import importlib
62
import json
73
import pstats

src/compas/rpc/errors.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
5-
61
class RPCServerError(Exception):
72
"""Exception for errors originating from the server."""
83

src/compas/rpc/proxy.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
import json
62
import time
73

src/compas/rpc/server.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
import threading
62

73
try:

0 commit comments

Comments
 (0)