mirror of
https://github.com/Rainyy21/URL_shortener.git
synced 2026-10-11 00:30:13 -04:00
add database but need to test it
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class URLCreate(BaseModel):
|
||||
long_url: str
|
||||
|
||||
|
||||
class URLResponse(BaseModel):
|
||||
short_url: str
|
||||
Reference in New Issue
Block a user