MCPcopy
hub / github.com/faif/python-patterns / make_noise

Method make_noise

patterns/structural/adapter.py:64–65  ·  view source on GitHub ↗
(self, octane_level: int)

Source from the content-addressed store, hash-verified

62 self.name = "Car"
63
64 def make_noise(self, octane_level: int) -> str:
65 return f"vroom{'!' * octane_level}"
66
67
68class Adapter:

Calls

no outgoing calls