Skip to content

Commit 479dea0

Browse files
committed
Revert "Added uuid import and clarification text"
This reverts commit 0a1cacc.
1 parent a7ee506 commit 479dea0

File tree

1 file changed

+0
-4
lines changed
  • docs/docs/05_flask_smorest/02_data_model_improvements

1 file changed

+0
-4
lines changed

docs/docs/05_flask_smorest/02_data_model_improvements/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ def create_store():
245245
<TabItem value="new" label="create_store (new)">
246246

247247
```py title="app.py"
248-
import uuid
249-
250248
@app.post("/store")
251249
def create_store():
252250
store_data = request.get_json()
@@ -257,8 +255,6 @@ def create_store():
257255
return store
258256
```
259257

260-
Here we add a new import, [the `uuid` module](https://docs.python.org/3/library/uuid.html). We will be using it to create unique IDs for our items instead of relying on the uniqueness of their `names`.
261-
262258
</TabItem>
263259
</Tabs>
264260
</div>

0 commit comments

Comments
 (0)