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