Skip to content

Commit 5208658

Browse files
authored
Merge pull request #14 from FalkorDB/staging
mock repo info
2 parents 06460f2 + 0546e33 commit 5208658

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/info.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ def get_repo_info(repo_name: str) -> Optional[Dict[str, str]]:
9797
Returns:
9898
Optional[Dict[str, str]]: A dictionary of repository information, or None if not found.
9999
"""
100+
101+
return {'commit': 'eeb5b3a55907a2d23dd6ab8f2985a43b08167810',
102+
'repo_url': 'https://github.com/redis/redis'}
103+
100104
try:
101105
r = get_redis_connection()
102106
key = _repo_info_key(repo_name)

0 commit comments

Comments
 (0)