Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valencia Vargas, Carlos
helloiamcarlos
Commits
e10936db
Commit
e10936db
authored
Nov 04, 2021
by
Alex Constantin-Gómez
Browse files
Update entity.py
parent
d8c7fa90
Changes
1
Hide whitespace changes
Inline
Side-by-side
models/entity.py
View file @
e10936db
...
...
@@ -7,4 +7,4 @@ class Entity(db.Model):
age
=
db
.
Column
(
db
.
Integer
,
unique
=
False
,
nullable
=
False
)
def
__repr__
(
self
):
return
f
'Entity(
{
self
.
id
}
,
{
self
.
username
}
,
{
self
.
email
}
)'
\ No newline at end of file
return
f
'Entity(
{
self
.
id
}
,
{
self
.
name
}
,
{
self
.
age
}
)'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment