mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Use singleton enum for "not set" sentinels (#41990)
* Use singleton enum for "not set" sentinel https://www.python.org/dev/peps/pep-0484/#support-for-singleton-types-in-unions * Remove unused variable
This commit is contained in:
@@ -48,7 +48,7 @@ CUSTOM_WARNING = (
|
||||
"cause stability problems, be sure to disable it if you "
|
||||
"experience issues with Home Assistant."
|
||||
)
|
||||
_UNDEF = object()
|
||||
_UNDEF = object() # Internal; not helpers.typing.UNDEFINED due to circular dependency
|
||||
|
||||
MAX_LOAD_CONCURRENTLY = 4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user