MCPcopy Create free account
hub / github.com/catid/supercharger / count_non_empty_strings

Function count_non_empty_strings

codegen/codegen.py:123–128  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

121 logging.info(f"An error occurred while installing requirements.txt: exit_code={exit_code} logs={logs}")
122
123def count_non_empty_strings(array):
124 count = 0
125 for item in array:
126 if item is not None and isinstance(item, str) and len(item) > 0:
127 count += 1
128 return count
129
130class CodeGen:
131 def __init__(self, args):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected