Skip to content
Snippets Groups Projects
  1. Jul 23, 2018
  2. Jul 19, 2018
  3. Jul 17, 2018
  4. Jul 16, 2018
  5. Jul 13, 2018
  6. Jul 12, 2018
  7. Jul 11, 2018
  8. Jul 09, 2018
    • Benjamin Bertrand's avatar
      Use sqlalchemy events hook to trigger tasks · d9516a98
      Benjamin Bertrand authored
      Use the before_flush hook to trigger the core services update.
      It's much nicer than having to call a method in several places.
      
      The core services update is triggered on creation/modification/deletion
      of an Interface.
      
      In the before_flush we can manipulate the session (add objects) but we
      shouldn't call commit.
      The db.session.commit() was removed from the launch_task method.
      d9516a98
  9. Jul 06, 2018
  10. Jul 03, 2018
  11. Jul 02, 2018
  12. Jun 28, 2018
  13. May 25, 2018
Loading