Skip to content

Commit

Permalink
fix (full-stack/react): not used function
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed Sep 5, 2024
1 parent 804ab47 commit 561b271
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions full-stack/3-fastapi/users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
from fastapi import FastAPI
from sqlmodel import Field, Session, SQLModel, create_engine, select

def parse_date(birthday_str: str | None) -> date | None:
if birthday_str:
return date.fromisoformat(birthday_str)
return None

class Users(SQLModel, table=True):
email_id: str = Field(default=None, primary_key=True)
name: str
Expand Down
1 change: 1 addition & 0 deletions full-stack/6-react-swr/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# React + Swr
https://swr.vercel.app/

~~~
npm i swr
Expand Down

0 comments on commit 561b271

Please sign in to comment.