Skip to content

Hang out feature/chatbot - #15

Open
Viggochang wants to merge 13 commits into
masterfrom
hang_out-feature/chatbot
Open

Hang out feature/chatbot#15
Viggochang wants to merge 13 commits into
masterfrom
hang_out-feature/chatbot

Conversation

@Viggochang

Copy link
Copy Markdown

cahtbot 功能:我要開團、我要報名、查詢開團紀錄、查詢報名紀錄

@Viggochang
Viggochang force-pushed the hang_out-feature/chatbot branch from 64dfaf4 to af9b479 Compare August 21, 2021 08:11
return line_id

def user_id(user_condition):
user_id = CallDatabase.get_data("users", ["id"], condition = user_condition, all_data = False)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove the space


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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove the space

return activity_info, registration_info

def user_info(user_condition):
user_info = CallDatabase.get_data("users", user_columns, condition = user_condition, all_data = False)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove the space

Comment thread hang_out/requirements.txt
line-bot-sdk==1.18.0
psycopg2==2.8.3
datetime==4.0
imgurpython==1.1.7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

using code formatter like black, yapf, or autopep8

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants