mirror of
https://github.com/FlipsideCrypto/sdk.git
synced 2026-02-06 10:46:43 +00:00
13 lines
308 B
Python
13 lines
308 B
Python
from typing import Any, Union
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class ApiResponse(BaseModel):
|
|
status_code: int = Field(
|
|
None, description="The server-side token of the query being executed."
|
|
)
|
|
status_msg: Union[str, None]
|
|
error_msg: Union[str, None]
|
|
data: Union[Any, None]
|