mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-07-13 12:51:48 +02:00
fix: adds ColouredEnum to STANDARD_TYPES
This commit is contained in:
@ -5,7 +5,16 @@ from typing import Any, Optional, cast
|
|||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
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]:
|
def get_class_and_instance_attributes(obj: object) -> dict[str, Any]:
|
||||||
|
Reference in New Issue
Block a user