Skip to content

Commit b989c01

Browse files
acsanybzaczynski
andauthored
Apply suggestions from code review
Co-authored-by: Bartosz Zaczyński <bartosz.zaczynski@gmail.com>
1 parent ee0ff0c commit b989c01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

crud-operations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# What Are CRUD Operations?
22

3-
This repository contains code related to the Real Python tutorial on [building a front end for a REST API](https://realpython.com/crud-operations/).
3+
This repository contains code related to the Real Python tutorial on [CRUD operations](https://realpython.com/crud-operations/).
44

55
## Setup
66

crud-operations/crud_sql_alchemy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Bird(Base):
1212
name = Column(String)
1313

1414
def __repr__(self):
15-
return f"<Bird(id={self.id}, name='{self.name}')>"
15+
return f"Bird(id={self.id}, name={self.name!r})"
1616

1717

1818
engine = create_engine("sqlite:///birds.db")

0 commit comments

Comments
 (0)