Skip to content

Commit fdfff59

Browse files
committed
Declare default server port constant alias for compatibility
(#203)
1 parent 7b5d0e5 commit fdfff59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ansys/rocky/core/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
_LEGACY_PROXY_INSTANCE: Pyro5.api.Proxy | None = None # Used for backward compatibility with versions < 26.1
4545
_CONNECT_TO_SERVER_TIMEOUT = 60
4646

47+
DEFAULT_SERVER_PORT = _PYROCKY_DEFAULT_PORT # Compatibility with dependants that still import this constant.
48+
4749

4850
def connect_to_rocky( # pragma: no cover
4951
host: str = "localhost", port: int = _PYROCKY_DEFAULT_PORT

0 commit comments

Comments
 (0)