mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-21 16:00:57 +01:00
PyLinkNetworkCore: add stubs for disconnect() and connect()
This commit is contained in:
parent
d3f635901b
commit
a070ec5c32
@ -223,6 +223,12 @@ class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnake
|
|||||||
def validate_server_conf(self):
|
def validate_server_conf(self):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
def connect(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
|
def disconnect(self):
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
## General utility functions
|
## General utility functions
|
||||||
def call_hooks(self, hook_args):
|
def call_hooks(self, hook_args):
|
||||||
"""Calls a hook function with the given hook args."""
|
"""Calls a hook function with the given hook args."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user