Skip to content

Commit

Permalink
storing redis data
Browse files Browse the repository at this point in the history
  • Loading branch information
Fireye04 committed Nov 26, 2024
1 parent a6860cb commit 9aca9ac
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/sasquatchbackpack/sasquatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,15 @@ def post(self) -> str:

for record in records:
self.redis.store(
self.config.get_redis_key(record),
self.source.get_redis_key(record),
schemas.EarthquakeSchema(
timestamp=0,
id="",
latitude=0,
longitude=0,
depth=0,
magnitude=0,
),
)

return response.text

0 comments on commit 9aca9ac

Please sign in to comment.