Skip to content

creates flask app to serve pyindico

Bijan Haney requested to merge flask-app into master
  • Flask is able to serve your python scripts over the web. You can test it out here: https://bots.bijanhaney.com/indico/next/1566

  • So far only the next function is implemented.

  • I also changed the next function to take arguments so I could use it as a package in the Flask script, rather than through the command line. It still works through the command line.

  • Rather than printing the next meeting, next now returns it.

  • I changed the name from next to nextmeet if that's OK, because 'next' is also the name of a built-in method for all iterators, and it was a little confusing having a global 'next' function.

Edited by Bijan Haney

Merge request reports