Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- funcion:
- def choice_estatus(value):
- if value:
- logging.info('************************* lib choice estatus')
- logging.debug(value)
- logging.debug(type(value))
- logging.debug(type(ESTATUS))
- logging.debug(ESTATUS)
- valor = ESTATUS.value
- else:
- valor = ''
- return valor
- valores:
- 2022-05-15 13:34:32,655 - INFO -ayudast.py:184 - ************************* lib choice estatus
- 2022-05-15 13:34:32,655 - DEBUG -ayudast.py:185 - 2
- 2022-05-15 13:34:32,655 - DEBUG -ayudast.py:186 - <class 'str'>
- 2022-05-15 13:34:32,656 - DEBUG -ayudast.py:187 - <class 'tuple'>
- 2022-05-15 13:34:32,656 - DEBUG -ayudast.py:188 - (('1', 'Recibida'), ('2', 'En Proceso'), ('3', 'Devuelta'), ('4', 'Entregada'), ('5', 'Instantanea'))
Advertisement
Add Comment
Please, Sign In to add comment