Use route-owned formatter style choices
This commit is contained in:
@@ -81,6 +81,10 @@ def normalize_style_policy(value: str) -> str:
|
||||
return value if value in STYLE_POLICIES else "drop_style_tail"
|
||||
|
||||
|
||||
def style_policy_choices() -> list[str]:
|
||||
return list(STYLE_POLICIES)
|
||||
|
||||
|
||||
def caption_profile_choices() -> list[str]:
|
||||
return list(CAPTION_PROFILES)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user