Skip to content
Snippets Groups Projects

Beekeepy: Add session holder class and session token handling

Merged Krzysztof Mochocki requested to merge kmochocki/beekeepy into develop
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -24,7 +24,7 @@ class _SettingsHolderBase(ABC, Generic[SettingsT]):
def settings(self) -> SettingsT:
"""Obtain currently used settings.
Note for SettingsHolder users:
Note:
If you want to have shared settings with other instance, use `_settings`, otherwise you will pass copy.
"""
return self.__settings if self.__is_in_modify_settings_state else self._get_copy_of_settings()
Loading