Skip to content

Commit 20fd4f2

Browse files
author
Tony Crisci
committed
deprecate aio Connection auto_reconect
1 parent fc82694 commit 20fd4f2

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ docs:
2828
sphinx-build docs docs/_build/html
2929

3030
livedocs:
31-
sphinx-autobuild docs docs/_build/html --watch i3ipc -i '*swp' -i '*~'
31+
sphinx-autobuild docs docs/_build/html --watch i3ipc --ignore '*swp' --ignore '*~'
3232

3333
all: format lint docker-test

i3ipc/aio/connection.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,11 @@ def socket_path(self) -> str:
295295
"""
296296
return self._socket_path
297297

298+
@property
299+
def auto_reconect(self) -> bool:
300+
"""**Deprecated:** Use :attr:`~.Connection.auto_reconnect`"""
301+
return self._auto_reconnect
302+
298303
@property
299304
def auto_reconnect(self) -> bool:
300305
"""Whether this ``Connection`` will attempt to reconnect when the

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ flake8
99
sphinx
1010
sphinxcontrib-asyncio
1111
sphinxcontrib-fulltoc
12+
sphinx-autobuild

0 commit comments

Comments
 (0)