Buckets:

download
raw
640 Bytes
import datetime
from pydantic import BaseModel
from typing import Optional
class NewsArticlePublic(BaseModel):
id: int
title: str
url: str
content: str
fun_fact: str
publication_date: Optional[datetime.datetime]
source_id: int
class Config:
from_attributes = True
class RSSFeedSourceBase(BaseModel):
name: str
url: str
is_active: bool = True
class RSSFeedSourceCreate(RSSFeedSourceBase):
pass
class RSSFeedSourcePublic(RSSFeedSourceBase):
id: int
created_at: datetime.datetime
updated_at: Optional[datetime.datetime]
class Config:
from_attributes = True

Xet Storage Details

Size:
640 Bytes
·
Xet hash:
bc6cd231cda2b64ef351dfb767c1a3432cd1860c0167fb9ef2ff4d93773fc9c7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.