MCPcopy Index your code
hub / github.com/BrendanParmer/NodeToPython / _write

Method _write

NodeToPython/export/ntp_operator.py:221–225  ·  view source on GitHub ↗
(self, string: str, indent_level: int = -1)

Source from the content-addressed store, hash-verified

219 return {'FINISHED'}
220
221 def _write(self, string: str, indent_level: int = -1):
222 if indent_level == -1:
223 indent_level = self._inner_indent_level
224 indent_str = indent_level * self._indentation
225 self._file.write(f"{indent_str}{string}\n")
226
227 def _setup_options(self, options: NTP_PG_Options) -> bool:
228 # General

Callers 15

executeMethod · 0.95
_create_importsMethod · 0.95
_import_modulesMethod · 0.95
_create_menu_funcMethod · 0.95
_create_main_funcMethod · 0.95
_initialize_node_treeMethod · 0.45
_create_materialMethod · 0.45
_create_lightMethod · 0.45
_create_line_styleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected