Skip to content
Snippets Groups Projects
Commit 651b4181 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Fix E302 expected 2 blank lines

parent 059ee91c
No related branches found
No related tags found
2 merge requests!147Merge previous default branch feat-cod-rmq into main,!105Fix linting
......@@ -7,6 +7,7 @@ task = "task_name"
# Instantiate rabbitmq object
rc_rmq = RCRMQ({"exchange": "RegUsr", "exchange_type": "topic"})
# Define your callback function
def on_message(ch, method, properties, body):
......
......@@ -18,9 +18,8 @@ args = rc_util.get_args()
# Logger
logger = rc_util.get_logger()
# Account creation
# Account creation
def create_account(msg):
logger.info(f"Account creation request received: {msg}")
......
......@@ -7,6 +7,7 @@ task = "user_reg_event_log"
# Instantiate rabbitmq object
rc_rmq = RCRMQ({"exchange": "RegUsr", "exchange_type": "topic"})
# Define your callback function
def log_user_reg_events(ch, method, properties, body):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment