MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / User

Class User

tests/fields/test_email_field.py:9–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7class TestEmailField(MongoDBTestCase):
8 def test_generic_behavior(self):
9 class User(Document):
10 email = EmailField()
11
12 user = User(email="ross@example.com")
13 user.validate()

Calls 1

EmailFieldClass · 0.90

Used in the wild real call sites across dependent graphs

searching dependent graphs…