commit
21a77c1372
@ -1,8 +1,11 @@
|
||||
class reag__:
|
||||
def __init__(category = '-', comps, out):
|
||||
def __init__(self, category: str = '-', comps = {}, out: int = 0):
|
||||
# medicine
|
||||
self.category = category
|
||||
# {'инапровалин': 1, 'углерод': 1}
|
||||
self.comps = comps
|
||||
# 2
|
||||
self.out = out
|
||||
def get_all(self):
|
||||
return [self.category, self.comps, self.out]
|
||||
|
||||
|
Loading…
Reference in new issue