greathector7

Untitled

May 15th, 2022
1,311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.82 KB | None | 0 0
  1. funcion:
  2. def choice_estatus(value):
  3.     if value:
  4.         logging.info('************************* lib choice estatus')
  5.         logging.debug(value)
  6.         logging.debug(type(value))
  7.         logging.debug(type(ESTATUS))
  8.         logging.debug(ESTATUS)
  9.  
  10.         valor = ESTATUS.value
  11.     else:
  12.         valor = ''
  13.     return valor  
  14.  
  15.  
  16.  
  17. valores:
  18.  
  19. 2022-05-15 13:34:32,655 - INFO         -ayudast.py:184 - ************************* lib choice estatus
  20. 2022-05-15 13:34:32,655 - DEBUG         -ayudast.py:185 - 2
  21. 2022-05-15 13:34:32,655 - DEBUG         -ayudast.py:186 - <class 'str'>
  22. 2022-05-15 13:34:32,656 - DEBUG         -ayudast.py:187 - <class 'tuple'>
  23. 2022-05-15 13:34:32,656 - DEBUG         -ayudast.py:188 - (('1', 'Recibida'), ('2', 'En Proceso'), ('3', 'Devuelta'), ('4', 'Entregada'), ('5', 'Instantanea'))
  24.  
  25.  
  26.  
  27.  
  28.  
Advertisement
Add Comment
Please, Sign In to add comment