Skip to content

Commit 3cbef29

Browse files
committed
Updates formatting to pass black lint
1 parent 7a2cc6b commit 3cbef29

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/functions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def cache_write(app_id, data):
8383
# return failed status
8484
return False
8585

86+
8687
def redis_connection():
8788
"""
8889
Parse redis config and connect.
@@ -101,6 +102,7 @@ def redis_connection():
101102
# return connection
102103
return rds
103104

105+
104106
def redis_read(app_id):
105107
"""
106108
Read app info from Redis cache.
@@ -143,7 +145,7 @@ def redis_write(app_id, data):
143145
"""
144146

145147
rds = redis_connection()
146-
148+
147149
# write cache data and set ttl
148150
try:
149151
# convert dict to json

0 commit comments

Comments
 (0)