mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 00:40:01 +02:00
fixes ruff errors
This commit is contained in:
parent
f76703340c
commit
a2effca2b0
@ -48,8 +48,8 @@ class WebServer:
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
data_service_observer:
|
data_service_observer:
|
||||||
Observer for the [`DataService`][pydase.DataService], handling state updates and communication to
|
Observer for the [`DataService`][pydase.DataService], handling state updates
|
||||||
connected clients.
|
and communication to connected clients.
|
||||||
host:
|
host:
|
||||||
Hostname or IP address where the server is accessible. Commonly '0.0.0.0'
|
Hostname or IP address where the server is accessible. Commonly '0.0.0.0'
|
||||||
to bind to all network interfaces.
|
to bind to all network interfaces.
|
||||||
@ -64,7 +64,8 @@ class WebServer:
|
|||||||
cross-origin requests. Defaults to True.
|
cross-origin requests. Defaults to True.
|
||||||
config_dir:
|
config_dir:
|
||||||
Path to the configuration directory where the web settings will be stored.
|
Path to the configuration directory where the web settings will be stored.
|
||||||
Defaults to [`ServiceConfig().config_dir`][pydase.config.ServiceConfig.config_dir].
|
Defaults to
|
||||||
|
[`ServiceConfig().config_dir`][pydase.config.ServiceConfig.config_dir].
|
||||||
generate_web_settings:
|
generate_web_settings:
|
||||||
Flag to enable or disable generation of new web settings if the
|
Flag to enable or disable generation of new web settings if the
|
||||||
configuration file is missing. Defaults to
|
configuration file is missing. Defaults to
|
||||||
|
@ -19,10 +19,6 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
import json
|
|
||||||
|
|
||||||
json.loads
|
|
||||||
|
|
||||||
|
|
||||||
class Deserializer:
|
class Deserializer:
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user