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

Method __init__

app/forms/user.py:36–39  ·  view source on GitHub ↗
(self, *args, db: AsyncSession, user: User, **kwargs)

Source from the content-addressed store, hash-verified

34 delete_avatar = BooleanField(_l("Delete avatar"), default=False)
35
36 def __init__(self, *args, db: AsyncSession, user: User, **kwargs):
37 super().__init__(*args, **kwargs)
38 self.db = db
39 self.user = user
40
41 async def async_validate_username(self, field):
42 if self.db and self.user:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected