mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-24 18:26:11 +00:00
language: register action_record in CORE_STYLES so STYLE_REGISTRY contains it
action_record is in PERSISTENT_STYLES but was missing from CORE_STYLES, so STYLE_REGISTRY (= CORE_STYLES | EXTENDED_STYLES) didn't contain it and the PERSISTENT_STYLES | EVENT_ONLY_STYLES <= STYLE_REGISTRY invariant in test_style_registry_routes_columns failed. Add it to CORE_STYLES so the registry, the persistent-set, and column_for_style() stay consistent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -36,6 +36,7 @@ CORE_STYLES = {
|
|||||||
"vqa",
|
"vqa",
|
||||||
"trace",
|
"trace",
|
||||||
"task_aug",
|
"task_aug",
|
||||||
|
"action_record",
|
||||||
}
|
}
|
||||||
# Project-local styles can be registered at import time by appending to
|
# Project-local styles can be registered at import time by appending to
|
||||||
# ``EXTENDED_STYLES`` before ``column_for_style`` is called. Anything added
|
# ``EXTENDED_STYLES`` before ``column_for_style`` is called. Anything added
|
||||||
|
|||||||
Reference in New Issue
Block a user