MCPcopy Create free account
hub / github.com/BrendanParmer/NodeToPython / write_imports

Function write_imports

tools/node_settings_generator/parse_nodes.py:243–246  ·  view source on GitHub ↗
(file: TextIOWrapper)

Source from the content-addressed store, hash-verified

241 return None
242
243def write_imports(file: TextIOWrapper):
244 file.write("from enum import Enum, auto\n")
245 file.write("from typing import NamedTuple\n")
246 file.write("\n")
247
248def write_st_enum(file: TextIOWrapper):
249 file.write("class ST(Enum):\n")

Callers 1

parse_nodes.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected