MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / my_function

Method my_function

common/wrapper.py:129–141  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127
128 @self_consistency(5, keys=['name', 'age', 'city'], mode='each')
129 def my_function(self):
130 name = ['Alice', 'Bob']
131 age = [28, 39]
132 city = ['New York', 'San Francisco']
133 skills = ['Python', 'JavaScript', 'Java']
134 output = {
135 'name': random.choice(name),
136 'age': random.choice(age),
137 'city': random.choice(city),
138 'skill': random.choices(skills, k=2),
139 }
140 print(output)
141 return output
142
143
144if __name__ == "__main__":

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected