Hang out feature/chatbot - #15
Open
Viggochang wants to merge 13 commits into
Open
Conversation
Viggochang
force-pushed
the
hang_out-feature/chatbot
branch
from
August 21, 2021 08:11
64dfaf4 to
af9b479
Compare
| return line_id | ||
|
|
||
| def user_id(user_condition): | ||
| user_id = CallDatabase.get_data("users", ["id"], condition = user_condition, all_data = False) |
Contributor
There was a problem hiding this comment.
Remove the space => ..., condition=user_condition, all_data=False
| return user_id | ||
|
|
||
| def basic_info(init_condition): | ||
| activity_info = CallDatabase.get_data("activity", activity_columns[:-2], condition = init_condition, all_data = False) |
|
|
||
| def basic_info(init_condition): | ||
| activity_info = CallDatabase.get_data("activity", activity_columns[:-2], condition = init_condition, all_data = False) | ||
| registration_info = CallDatabase.get_data("registration", ["activity_id", "id"], condition = init_condition, all_data = False) |
| return activity_info, registration_info | ||
|
|
||
| def user_info(user_condition): | ||
| user_info = CallDatabase.get_data("users", user_columns, condition = user_condition, all_data = False) |
| line-bot-sdk==1.18.0 | ||
| psycopg2==2.8.3 | ||
| datetime==4.0 | ||
| imgurpython==1.1.7 |
Contributor
There was a problem hiding this comment.
using code formatter like black, yapf, or autopep8
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cahtbot 功能:我要開團、我要報名、查詢開團紀錄、查詢報名紀錄