mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-24 01:50:03 +02:00
fix: adds ColouredEnum to STANDARD_TYPES
This commit is contained in:
parent
22f832054e
commit
b790b6a6ca
@ -5,7 +5,16 @@ from typing import Any, Optional, cast
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
STANDARD_TYPES = ("int", "float", "bool", "str", "Enum", "NoneType", "Quantity")
|
||||
STANDARD_TYPES = (
|
||||
"int",
|
||||
"float",
|
||||
"bool",
|
||||
"str",
|
||||
"Enum",
|
||||
"NoneType",
|
||||
"Quantity",
|
||||
"ColouredEnum",
|
||||
)
|
||||
|
||||
|
||||
def get_class_and_instance_attributes(obj: object) -> dict[str, Any]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user