Skip to content

Conversation

neverafraid1
Copy link
Contributor

No description provided.

:return: string, query progress
"""
meta = self.get_meta()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个可以优化下,用一个 common func,比如 get_or_default 这样更清晰一点

request = GetProjectLogsRequest(project, sql, power_sql)
return self.get_project_logs(request)

def submit_async_sql(self, request):
Copy link
Collaborator

@crimson-gao crimson-gao Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from .util import require_python3

这里要加上在函数上面
@require_python3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants