Skip to content

Commit

Permalink
fix: these should be function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Mause authored Jul 25, 2023
1 parent 2dfd946 commit 8192347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/generate_function_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@


def get_result(example: str) -> str:
if example == 'current_date':
if example == 'current_date()':
return '2023-07-23'
elif example == 'get_current_time':
elif example == 'get_current_time()':
return '14:04:22.524'
elif example == 'get_current_timestamp':
elif example == 'get_current_timestamp()':
return '2023-07-23 14:04:22.538+00'

try:
Expand Down

0 comments on commit 8192347

Please sign in to comment.