15 lines
252 B
Python
15 lines
252 B
Python
from typing import List, Union
|
|
|
|
from pydantic import BaseModel
|
|
from typing import Optional
|
|
|
|
|
|
class Sql(BaseModel):
|
|
sql: str
|
|
|
|
|
|
class CkQuery(BaseModel):
|
|
eventView: dict = None
|
|
events: Union[List[dict], dict] = None
|
|
report_id: str = None
|