MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / Machine

Class Machine

example_code/item_054.py:164–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 self.speed = speed
163
164class Machine(ToDictMixin, JsonMixin):
165 def __init__(self, cores=None, ram=None, disk=None):
166 self.cores = cores
167 self.ram = ram
168 self.disk = disk
169
170
171print("Example 9")

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected