masto-bridges/masto_bridges/models.py
2023-06-14 00:51:06 -07:00

17 lines
No EOL
312 B
Python

from pydantic import BaseModel
class List(BaseModel):
"""A mastodon list!"""
id: str
title: str
class Config:
extra = 'ignore'
class Account(BaseModel):
"""Not transcribing full model now, just using to check"""
acct: str
id: int
class Config:
extra = 'ignore'