您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678
  1. from collections.abc import Iterable, Sequence
  2. def to_selector(node_id: str, name: str, paths: Iterable[str] = ()) -> Sequence[str]:
  3. selectors = [node_id, name]
  4. if paths:
  5. selectors.extend(paths)
  6. return selectors