Skip to content

Conversation

salamehsameera
Copy link
Contributor

@salamehsameera salamehsameera self-assigned this Aug 25, 2022
@salamehsameera salamehsameera marked this pull request as ready for review August 25, 2022 08:22
def run(self, ctx: Context, command: str, language: str, inputs: dict = None) -> Union[dict, list]:
data = self.data
data["query"] = command
data["language"] = language
Copy link
Contributor

Choose a reason for hiding this comment

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

do we use rel vs sql or emtpy vs sql ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you can pass either rel, sql, or an empty string that will get defaulted to rel in the service

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