fork download
  1. class MylocalSQL:
  2.  
  3. def __init__(self):
  4. pass
  5.  
  6. def get_max_report_date(self):
  7. try:
  8. return "some value"
  9. finally:
  10. print('i was executed')
  11.  
  12.  
  13. MylocalSQL().get_max_report_date()
  14.  
Success #stdin #stdout 0s 23296KB
stdin
Standard input is empty
stdout
i was executed