MCPcopy Index your code
hub / github.com/hunvreus/devpush / get_environment_url

Method get_environment_url

app/models.py:584–589  ·  view source on GitHub ↗

Get environment URL

(self, environment_slug: str)

Source from the content-addressed store, hash-verified

582 return f"{self.slug}-env-{environment_slug}.{settings.deploy_domain}"
583
584 def get_environment_url(self, environment_slug: str) -> str:
585 """Get environment URL"""
586 settings = get_settings()
587 return (
588 f"{settings.url_scheme}://{self.get_environment_hostname(environment_slug)}"
589 )
590
591 def get_branch_hostname(self, branch: str) -> str:
592 """Get branch hostname"""

Callers

nothing calls this directly

Calls 2

get_settingsFunction · 0.90

Tested by

no test coverage detected