Skip to content

Commit 75f598a

Browse files
Fixing left-padding spaces
1 parent 1a09058 commit 75f598a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/datasets/investigation_dataset_page.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,13 +1336,13 @@ def to_enum_name_or_value(val: Any) -> Union[str, Any]:
13361336
Convert an Enum member or matching string value to its Enum name.
13371337
13381338
If the input is:
1339-
- An Enum member → returns the `.name` (e.g., "KLEAN_PREP")
1340-
- A string matching any Enum value in ALL_ENUMS → returns that member's `.name`
1341-
- Anything else → returns the value unchanged
1339+
- An Enum member → returns the `.name` (e.g., "KLEAN_PREP")
1340+
- A string matching any Enum value in ALL_ENUMS → returns that member's `.name`
1341+
- Anything else → returns the value unchanged
13421342
13431343
Args:
13441344
val (Any): The value to convert. Can be an Enum member, a string,
1345-
or any other type.
1345+
or any other type.
13461346
13471347
Returns:
13481348
Union[str, Any]: The Enum name (string) if matched, otherwise the original value.

0 commit comments

Comments
 (0)