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