Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

📝(summary) replace "wip" placeholder with proper docstring

lebaudantoined71e417d587b
diff --git a/src/summary/summary/core/analytics.py b/src/summary/summary/core/analytics.py
index 8c904fee..212f2add 100644
--- a/src/summary/summary/core/analytics.py
+++ b/src/summary/summary/core/analytics.py
@@ -70,11 +70,11 @@ class TasksTracker:
return f"{self._key_prefix}{task_id}"
def _save_metadata(self, task_id, metadata):
- """Wip."""
+ """Save metadata for a specific task to Redis."""
self._redis.hset(self._get_redis_key(task_id), mapping=metadata)
def _get_metadata(self, task_id):
- """Wip."""
+ """Retrieve and parse metadata for a specific task from Redis."""
raw_metadata = self._redis.hgetall(self._get_redis_key(task_id))
return {k.decode("utf-8"): v.decode("utf-8") for k, v in raw_metadata.items()}