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

Function my_function

common/wrapper.py:104–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103@self_consistency(5, keys=['name', 'age', 'city'], mode='all')
104def my_function():
105 name = ['Alice', 'Bob']
106 age = [28, 39]
107 city = ['New York', 'San Francisco']
108 skills = ['Python', 'JavaScript', 'Java']
109 output = {
110 'name': random.choice(name),
111 'age': random.choice(age),
112 'city': random.choice(city),
113 'skill': random.choices(skills, k=2),
114 }
115 print(output)
116 return output
117
118
119class MyClass:

Callers 1

wrapper.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected