MCPcopy Create free account
hub / github.com/BeingBeyond/BeTTER / _as_string_tuple

Function _as_string_tuple

src/task/specs/loader.py:27–30  ·  view source on GitHub ↗
(values: list | tuple | None)

Source from the content-addressed store, hash-verified

25
26
27def _as_string_tuple(values: list | tuple | None) -> tuple[str, ...]:
28 if not values:
29 return ()
30 return tuple(str(value) for value in values if isinstance(value, str))
31
32
33def _layout_slots_from_payload(payload: dict) -> dict[str, LayoutSlotSpec]:

Callers 3

_base_group_membersFunction · 0.85
load_task_specFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected