MCPcopy Index your code
hub / github.com/FreeOpcUa/python-opcua / write

Method write

schemas/generate_protocol_python.py:68–71  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

66 self.write(f"extension_object_ids['{struct.name}'] = nid")
67
68 def write(self, line):
69 if line:
70 line = f'{self.indent * self.iidx}{line}'
71 self.output_file.write(f'{line}\n')
72
73 def make_header(self):
74 self.write("'''")

Callers 13

runMethod · 0.95
make_headerMethod · 0.95
generate_enum_codeMethod · 0.95
generate_struct_codeMethod · 0.95
write_unpack_enumMethod · 0.95
write_unpack_uatypeMethod · 0.95
write_pack_enumMethod · 0.95
write_pack_uatypeMethod · 0.95
generate_ids.pyFile · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected