MCPcopy Create free account
hub / github.com/hunvreus/devpush / validate_confirm

Method validate_confirm

app/forms/storage.py:242–247  ·  view source on GitHub ↗
(self, field)

Source from the content-addressed store, hash-verified

240 self.association = association
241
242 def validate_confirm(self, field):
243 if not self.association:
244 return
245 project_name = self.association.project.name if self.association.project else ""
246 if field.data != project_name:
247 raise ValidationError(_("Project name confirmation did not match."))
248
249
250class StorageQueryForm(StarletteForm):

Callers

nothing calls this directly

Calls 1

_Function · 0.50

Tested by

no test coverage detected