mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-07-15 09:21:47 +00:00
hatch fmt
This commit is contained in:
parent
2e3f4267cd
commit
dc128720c7
@ -1,4 +1,4 @@
|
||||
# SPDX-FileCopyrightText: 2025-present onyx-and-iris <code@onyxandiris.online>
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
__version__ = "0.20.0"
|
||||
__version__ = '0.20.0'
|
||||
|
@ -4,4 +4,4 @@
|
||||
|
||||
from .app import app
|
||||
|
||||
__all__ = ["app"]
|
||||
__all__ = ['app']
|
||||
|
@ -16,6 +16,7 @@ class Settings(UserDict):
|
||||
The settings are expected to be in uppercase and should start with 'OBS_'.
|
||||
|
||||
Example:
|
||||
-------
|
||||
settings = Settings()
|
||||
host = settings['OBS_HOST']
|
||||
settings['OBS_PORT'] = 4455
|
||||
@ -64,12 +65,15 @@ def get(key: str) -> SettingsValue:
|
||||
"""Get a setting value by key.
|
||||
|
||||
Args:
|
||||
----
|
||||
key (str): The key of the setting to retrieve.
|
||||
|
||||
Returns:
|
||||
-------
|
||||
The value of the setting.
|
||||
|
||||
Raises:
|
||||
------
|
||||
KeyError: If the key does not exist in the settings.
|
||||
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user