@@ -0,0 +1,9 @@
|
||||
"""Справочные zootech-профили (norm_*) vs пользовательские стандарты."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
_REFERENCE_PREFIX = "norm_"
|
||||
|
||||
|
||||
def is_reference_profile(profile_key: str | None) -> bool:
|
||||
return bool(profile_key) and profile_key.startswith(_REFERENCE_PREFIX)
|
||||
Reference in New Issue
Block a user