Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ __repr__
Method
__repr__
Url Shortener/core/models.py:18–19 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
16
created_at = db.Column(db.DateTime(), default=datetime.now(), nullable=False)
17
18
def
__repr__(self):
19
return
f
'ShortUrl: {self.short_id}'
Callers
1
test_new_shorturl_with_fixture
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_new_shorturl_with_fixture
Function · 0.64