Skip to content

Commit 45e3668

Browse files
martinkersnergithub-actions[bot]
authored andcommitted
chore: sync generated _endpoints.py with backend spec
1 parent 7f82870 commit 45e3668

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

‎datamaxi/_endpoints.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,13 +1355,6 @@
13551355
"enum": ["USD", "USDT"],
13561356
"description": "Specifies conversion base applied to price values",
13571357
},
1358-
"include_source": {
1359-
"required": False,
1360-
"in": "query",
1361-
"type": "bool",
1362-
"default": False,
1363-
"description": "When true, include the frame's transport source (ws|rest) in the response.",
1364-
},
13651358
},
13661359
},
13671360
"ticker_exchanges": {

‎datamaxi/_responses.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,16 +1253,13 @@ class TickerResponse:
12531253
currency: str = ""
12541254
data: Optional[TickerView] = None
12551255
market: str = ""
1256-
# Source is populated only when ?include_source=true; omitempty drops the key for default callers, preserving the pre-Phase-1 JSON byte shape (strict-decoder safe).
1257-
src: Any = None
12581256

12591257
@classmethod
12601258
def from_dict(cls, data: dict) -> TickerResponse:
12611259
return cls(
12621260
currency=data.get("currency", ""),
12631261
data=_as_model(TickerView, data.get("data")),
12641262
market=data.get("market", ""),
1265-
src=data.get("src"),
12661263
)
12671264

12681265

0 commit comments

Comments
 (0)