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

Method get_module_name

compiler/fory_compiler/generators/python.py:252–256  ·  view source on GitHub ↗

Get the Python module name.

(self)

Source from the content-addressed store, hash-verified

250 return files
251
252 def get_module_name(self) -> str:
253 """Get the Python module name."""
254 if self.package:
255 return self.package.replace(".", "_")
256 return "generated"
257
258 def generate_module(self) -> GeneratedFile:
259 """Generate a Python module with all types."""

Callers 3

generate_moduleMethod · 0.95
generate_registrationMethod · 0.95
generate_fory_helpersMethod · 0.95

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected