MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / __init__

Method __init__

1d_json/python/person.py:5–10  ·  view source on GitHub ↗
(self, name, age, job, verified, parents)

Source from the content-addressed store, hash-verified

3
4class Person:
5 def __init__(self, name, age, job, verified, parents):
6 self.name = name
7 self.age = age
8 self.job = job
9 self.verified = verified
10 self.parents = parents
11
12 def __str__(self):
13 return ", ".join([f"{k}: {v}" for k, v in self.__dict__.items()])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected