Last active
May 6, 2021 00:33
-
-
Save allenlsy/b87acd2f95a247cba134db96b94811df to your computer and use it in GitHub Desktop.
demo-fass1.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from funcinterface import FunctionInterface | |
| class Function(FunctionInterface): | |
| def run(self, request_data): | |
| query = request_data['q'] | |
| tokens = query.split(",") | |
| a, b = int(tokens[0]), int(tokens[1]) | |
| return str(a+b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment