Update App/Youtube/Schema.py
Browse files- App/Youtube/Schema.py +2 -2
App/Youtube/Schema.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from pydantic import BaseModel, Field, HttpUrl
|
| 2 |
|
| 3 |
|
| 4 |
class YouTubeUploadTask(BaseModel):
|
|
@@ -23,7 +23,7 @@ class YouTubeUploadTask(BaseModel):
|
|
| 23 |
max_length=500,
|
| 24 |
description="Best seo tags for youtube based on the story",
|
| 25 |
)
|
| 26 |
-
thumbnail:
|
| 27 |
...,
|
| 28 |
min_length=100,
|
| 29 |
max_length=500,
|
|
|
|
| 1 |
+
from pydantic import BaseModel, Field, HttpUrl, Optional
|
| 2 |
|
| 3 |
|
| 4 |
class YouTubeUploadTask(BaseModel):
|
|
|
|
| 23 |
max_length=500,
|
| 24 |
description="Best seo tags for youtube based on the story",
|
| 25 |
)
|
| 26 |
+
thumbnail:Optional[str] = Field(
|
| 27 |
...,
|
| 28 |
min_length=100,
|
| 29 |
max_length=500,
|