sdk/python/shroomdk/models/query_run_stats.py
2022-07-22 14:57:26 -04:00

16 lines
524 B
Python

from datetime import datetime
from pydantic import BaseModel, Field
class QueryRunStats(BaseModel):
started_at: datetime = Field(None, description="The start time of the query run.")
ended_at: datetime = Field(None, description="The end time of the query run.")
elapsed_seconds: int = Field(
None,
description="The number of seconds elapsed between the start and end times.",
)
record_count: int = Field(
False, description="The number of records returned by the query."
)