MCPcopy Index your code
hub / github.com/github/copilot-sdk / to_dict

Method to_dict

python/copilot/client.py:711–717  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

709 )
710
711 def to_dict(self) -> dict:
712 result: dict = {}
713 if self.multiplier is not None:
714 result["multiplier"] = self.multiplier
715 if self.token_prices is not None:
716 result["tokenPrices"] = self.token_prices.to_dict()
717 return result
718
719
720@dataclass

Callers

nothing calls this directly

Calls 1

to_dictMethod · 0.45

Tested by

no test coverage detected