mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
break down the api blueprint into smaller blueprints
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import os
|
||||
import urllib
|
||||
from typing import List
|
||||
from flask import request, send_file
|
||||
|
||||
from app import functions, instances, helpers, cache, models, prep
|
||||
from app import albumslib, searchlib
|
||||
from app import trackslib
|
||||
from app import api
|
||||
|
||||
|
||||
home_dir = helpers.home_dir
|
||||
|
||||
# @api.bp.route("/populate")
|
||||
# def find_tracks():
|
||||
# """call the populate function"""
|
||||
# functions.populate()
|
||||
# return "🎸"
|
||||
|
||||
|
||||
# @api.bp.route("/populate/images")
|
||||
# def populate_images():
|
||||
# """
|
||||
# Populates the artist images.
|
||||
# """
|
||||
# functions.populate_images()
|
||||
# return "Done"
|
||||
Reference in New Issue
Block a user