feat(appliance): initial release of MERICA standalone appliance v1.0.0
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import List
|
||||
|
||||
class CatalogItem(BaseModel):
|
||||
id: str
|
||||
name: str
|
||||
type: str
|
||||
|
||||
class CatalogListResponse(BaseModel):
|
||||
catalogs: List[CatalogItem]
|
||||
|
||||
class SchemaItem(BaseModel):
|
||||
id: str
|
||||
name: str
|
||||
layer: str
|
||||
|
||||
class SchemaListResponse(BaseModel):
|
||||
schemas: List[SchemaItem]
|
||||
|
||||
class TableItem(BaseModel):
|
||||
table_name: str
|
||||
layer: str
|
||||
format: str
|
||||
|
||||
class TableListResponse(BaseModel):
|
||||
catalog: str
|
||||
schema_name: str
|
||||
tables: List[TableItem]
|
||||
Reference in New Issue
Block a user