Black formatting

This commit is contained in:
clearml 2025-01-08 18:35:35 +02:00
parent dfb8e901d6
commit a02a114bd9

View File

@ -11,12 +11,12 @@ if TYPE_CHECKING:
def get_items(cls): def get_items(cls):
""" get key/value items from an enum-like class (members represent enumeration key/value) """ """get key/value items from an enum-like class (members represent enumeration key/value)"""
return {k: v for k, v in vars(cls).items() if not k.startswith('_')} return {k: v for k, v in vars(cls).items() if not k.startswith("_")}
def get_options(cls): def get_options(cls):
""" get options from an enum-like class (members represent enumeration key/value) """ """get options from an enum-like class (members represent enumeration key/value)"""
return get_items(cls).values() return get_items(cls).values()