15 lines
256 B
Python
Executable File
15 lines
256 B
Python
Executable File
from pydantic import BaseModel
|
|
|
|
class repo_info(BaseModel):
|
|
name: str
|
|
version: str
|
|
email: str
|
|
repositories: int
|
|
|
|
class addon_info(BaseModel):
|
|
author: str
|
|
description: str
|
|
email: str
|
|
version: str
|
|
source: str
|
|
size: int |