Yakova commited on
Commit
b81dfff
·
verified ·
1 Parent(s): f74ada5

Update App/Youtube/Schema.py

Browse files
Files changed (1) hide show
  1. 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: str = Field(
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,