Skip to content

Genshin Teapot Models

teapot

Genshin serenitea pot replica display models.

Classes:

__all__ module-attribute

__all__ = ['TeapotReplica', 'TeapotReplicaAuthor', 'TeapotReplicaBlueprint', 'TeapotReplicaStats']

TeapotReplica pydantic-model

Genshin serenitea pot replica.

Fields:

Validators:

author pydantic-field

blueprint pydantic-field

content pydantic-field

content: str

created_at pydantic-field

created_at: TZDateTime

has_more_content pydantic-field

has_more_content: bool

images pydantic-field

images: list[str]

lang pydantic-field

lang: str

post_id pydantic-field

post_id: str

stats pydantic-field

sub_type pydantic-field

sub_type: int

title pydantic-field

title: str

token pydantic-field

token: str

video pydantic-field

video: Optional[str]

view_type pydantic-field

view_type: int

__extract_url pydantic-validator

__extract_url(video: Any) -> Optional[str]

__extract_urls pydantic-validator

__extract_urls(images: Sequence[Any]) -> Sequence[str]

TeapotReplicaAuthor pydantic-model

Teapot replica author.

Fields:

icon pydantic-field

icon: str

id pydantic-field

id: int

nickname pydantic-field

nickname: str

TeapotReplicaBlueprint pydantic-model

Teapot replica blueprint.

Fields:

block_id pydantic-field

block_id: str

is_invalid pydantic-field

is_invalid: bool

module_id pydantic-field

module_id: str

region pydantic-field

region: str

share_code pydantic-field

share_code: int

TeapotReplicaStats pydantic-model

Teapot replica stats.

Fields:

copies pydantic-field

copies: int

diggs pydantic-field

diggs: int

replies pydantic-field

replies: int

saves pydantic-field

saves: int

shares pydantic-field

shares: int

views pydantic-field

views: int