chore: Se elimina código duplicado extrayendo niveles de interés en una clase aparte
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-08-03 18:18:13 +00:00
parent 41036b1c59
commit a79490ed0f
3 changed files with 16 additions and 17 deletions

11
Util/interest.py Normal file
View File

@@ -0,0 +1,11 @@
class Interest():
@staticmethod
def get_interest_levels():
interest_levels = [
('0', '0 - No contestó'),
('1', '1 - total desinterés'),
('2', '2 - Interés intermedio'),
('3', '3 - Interés alto, generar venta')
]
return interest_levels