Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/realpython/discover-flask
/ get_id
Method
get_id
project/models.py:50–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
return
False
49
50
def
get_id(self):
51
return
unicode(self.id)
52
53
def
__repr__(self):
54
return
'<name - {}>'
.format(self.name)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected