File size: 372 Bytes
21e639d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from typing import Union
from pydantic import BaseModel


class ScrapttItem(BaseModel):
    """
    The ScrapttItem object keeps track of an item in inventory.
    """

    board: str
    author: str
    alias: str
    title: str
    date: str
    ip: str
    city: Union[str, None]
    country: Union[str, None]
    ups: int
    downs: int
    comments: int
    url: str