MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / pick_first

Function pick_first

Scripts/Network Tools/Store Scrapper.py:399–404  ·  view source on GitHub ↗
(*values: Any)

Source from the content-addressed store, hash-verified

397
398
399def pick_first(*values: Any) -> str:
400 for value in values:
401 text = clean_text(value)
402 if text:
403 return text
404 return ""
405
406
407def parse_price_and_currency(text: str) -> Tuple[str, str]:

Calls 1

clean_textFunction · 0.70

Tested by

no test coverage detected