docs: def get_module_uuid(plpy, moduleid):
      """Retrieve page uuid from legacy moduleid."""
      plan = plpy.prepare("SELECT uuid FROM modules WHERE moduleid = $1;",
                          ('text',))
      result = plpy.execute(plan, (moduleid,), 1)
      if result:
          return result[0]['uuid']