Get branch URL
(self, branch: str)
| 594 | return f"{self.slug}-branch-{branch}.{settings.deploy_domain}" |
| 595 | |
| 596 | def get_branch_url(self, branch: str) -> str: |
| 597 | """Get branch URL""" |
| 598 | settings = get_settings() |
| 599 | return f"{settings.url_scheme}://{self.get_branch_hostname(branch)}" |
| 600 | |
| 601 | |
| 602 | @event.listens_for(Project, "after_insert") |
nothing calls this directly
no test coverage detected