MCPcopy Create free account
hub / github.com/apache/fory / generate

Method generate

compiler/fory_compiler/generators/python.py:243–250  ·  view source on GitHub ↗

Generate Python files for the schema.

(self)

Source from the content-addressed store, hash-verified

241 return lines
242
243 def generate(self) -> List[GeneratedFile]:
244 """Generate Python files for the schema."""
245 files = []
246
247 # Generate a single module with all types
248 files.append(self.generate_module())
249
250 return files
251
252 def get_module_name(self) -> str:
253 """Get the Python module name."""

Callers

nothing calls this directly

Calls 2

generate_moduleMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected