# Generated by ariadne-codegen
# Source: queries.graphql

from typing import List

from pydantic import Field

from .base_model import BaseModel
from .fragments import CandleFields


class GetCandleSnapshotQuery(BaseModel):
    marketdata: "GetCandleSnapshotQueryMarketdata"


class GetCandleSnapshotQueryMarketdata(BaseModel):
    historical_candles: List["GetCandleSnapshotQueryMarketdataHistoricalCandles"] = (
        Field(alias="historicalCandles")
    )


class GetCandleSnapshotQueryMarketdataHistoricalCandles(CandleFields):
    pass


GetCandleSnapshotQuery.model_rebuild()
GetCandleSnapshotQueryMarketdata.model_rebuild()
