mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 14:25:01 +01:00
dspace_statistics_api: Sort imports with isort
This commit is contained in:
parent
630fa0d5fb
commit
5acd927210
@ -1,8 +1,7 @@
|
||||
import falcon
|
||||
|
||||
from .database import DatabaseManager
|
||||
from .items import get_views
|
||||
from .items import get_downloads
|
||||
from .items import get_downloads, get_views
|
||||
from .util import validate_items_post_parameters
|
||||
|
||||
|
||||
|
@ -8,11 +8,12 @@ def get_statistics_shards():
|
||||
Returns:
|
||||
str:A list of Solr statistics shards separated by commas.
|
||||
"""
|
||||
from .config import SOLR_SERVER
|
||||
|
||||
import re
|
||||
|
||||
import requests
|
||||
|
||||
from .config import SOLR_SERVER
|
||||
|
||||
# Initialize an empty list for statistics core years
|
||||
statistics_core_years = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user