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

Method __init__

models/stall.py:6–11  ·  view source on GitHub ↗
(self, *, data: Dict[str, Any])

Source from the content-addressed store, hash-verified

4
5class Stall:
6 def __init__(self, *, data: Dict[str, Any]) -> None:
7 listings_data = data.get('data')
8 if listings_data is None:
9 self._listings = []
10 else:
11 self._listings = [Listing(data=item) for item in listings_data]
12
13 @property
14 def listings(self) -> List[Listing]:

Callers

nothing calls this directly

Calls 1

ListingClass · 0.85

Tested by

no test coverage detected