Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_patch_class_qldoc
1 parent f5633be commit 3694311Copy full SHA for 3694311
1 file changed
misc/codegen/generators/qlgen.py
@@ -323,6 +323,7 @@ def _get_stub(cls: schema.Class, base_import: str, generated_import_prefix: str)
323
324
325
def _patch_class_qldoc(cls: str, qldoc: str, stub_file: pathlib.Path):
326
+ """ Replace or insert `qldoc` as the QLdoc of class `cls` in `stub_file` """
327
if not qldoc or not stub_file.exists():
328
return
329
qldoc = "\n".join(l.rstrip() for l in qldoc.splitlines())
0 commit comments