MCPcopy Create free account
hub / github.com/alphagov/notifications-api / created_by

Method created_by

app/models.py:1339–1340  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1337 return db.relationship(
1338 "TemplateRedacted", foreign_keys=[cls.id], primaryjoin="TemplateRedacted.template_id == TemplateHistory.id"
1339 )
1340
1341 def get_link(self):
1342 return url_for("v2_template.get_template_by_id", template_id=self.id, version=self.version, _external=True)
1343

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected