Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ SchemeLink
Class
SchemeLink
tests/fields/test_url_field.py:46–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
url = URLField()
45
46
class
SchemeLink(Document):
47
url = URLField(schemes=[
"ws"
,
"irc"
])
48
49
link = Link()
50
link.url =
"ws://google.com"
Callers
1
test_url_scheme_validation
Method · 0.85
Calls
1
URLField
Class · 0.85
Tested by
1
test_url_scheme_validation
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…