Skip to content

Add module_name parameter to linkml_runtime.utils.compile_python #2903

@tfliss

Description

@tfliss

What is your feature request?
compile_python currently has the module_name hardcoded to "test"
This results in two separate schemas being compiled into the same module and overriding each other.
Adding a module_name parameter would allow them to be placed in separate modules.

How important is this feature to you?
• Medium - I'm starting to use separate generators for the PolaRS dataframe and the Pandera validator working together.

Additional context
I have a small candidate change, that should be completely backwards compatible.

Fix is in linkml/linkml-runtime#457

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions