Skip to content
Snippets Groups Projects
internal_controller.py 695 B
Newer Older
  • Learn to ignore specific revisions
  • David Trattnig's avatar
    David Trattnig committed
    import connexion
    import six
    
    from src.models.play_log_entry import PlayLogEntry  # noqa: E501
    from src.models.status_entry import StatusEntry  # noqa: E501
    from src import util
    
    
    def get_active_engine():  # noqa: E501
        """Get active engine
    
        Retrieves the status entry of the currently active engine  # noqa: E501
    
    
        :rtype: StatusEntry
        """
        return 'do some magic!'
    
    
    def get_report(year_month):  # noqa: E501
        """Report for one month
    
        Returns a report for the given month  # noqa: E501
    
        :param year_month: Month to create the report for in the format \"yyyy_mm\"
        :type year_month: str
    
        :rtype: List[PlayLogEntry]
        """
        return 'do some magic!'