You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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