Skip to content

Commit 384701a

Browse files
authored
Merge pull request #35 from OpenMined/feat/heartbeat-webhooks
feat: implement heartbeat service for marketplace presence with exponential backoff
2 parents 476671f + d5f6238 commit 384701a

File tree

5 files changed

+448
-3
lines changed

5 files changed

+448
-3
lines changed

backend/syft_space/components/settings/repository.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ async def get_settings(self) -> Settings:
2424
settings = Settings(public_url=None, ngrok_token=None)
2525
return await self.create(settings)
2626

27+
async def get_public_url(self) -> str | None:
28+
"""Get the stored public URL."""
29+
settings = await self.get_settings()
30+
return settings.public_url
31+
2732
async def update_public_url(self, url: str | None) -> Settings:
2833
"""Update the public_url setting."""
2934
settings = await self.get_settings()

0 commit comments

Comments
 (0)