MCPcopy Create free account
hub / github.com/OpenReplicant/ProtoReplicant / convert_boolean

Function convert_boolean

tts/server.py:21–22  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

19
20def create_argparser():
21 def convert_boolean(x):
22 return x.lower() in ["true", "1", "yes"]
23
24 parser = argparse.ArgumentParser()
25 parser.add_argument(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected