MCPcopy Create free account
hub / github.com/Rushifakami/csfloat_api / __init__

Method __init__

models/auction.py:15–22  ·  view source on GitHub ↗
(self, *, data: Dict[str, Any])

Source from the content-addressed store, hash-verified

13 )
14
15 def __init__(self, *, data: Dict[str, Any]):
16 self._id = data.get("id")
17 self._created_at = data.get("created_at")
18 self._price = data.get("price")
19 self._contract_id = data.get("contract_id")
20 self._state = data.get("state")
21 self._active = data.get("active")
22 self._obfuscated_buyer_id = data.get("obfuscated_buyer_id")
23
24 @property
25 def id(self) -> Optional[int]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected