1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-06-29 09:33:47 +02:00
dspace-statistics-api/dspace_statistics_api
Alan Orth 5955868b9a dspace_statistics_api/app.py: Use UUID
DSpace 6+ uses a UUID for item identifiers instead of an integer so
we need to adapt our PostgreSQL queries to use those. Note that we
can no longer sort results in the "all items" endpoint by ID. Also,
we need to use parameterized psycopg2 queries instead of strings to
support queries with UUIDs properly. To use the Python UUID objects
elsewhere in the code we need to make sure that we cast them to str.
2020-03-02 11:06:48 +02:00
..
docs Sync API documentation HTML with README.md 2018-11-01 00:37:52 +02:00
__init__.py Refactor project structure 2018-10-28 11:14:21 +02:00
app.py dspace_statistics_api/app.py: Use UUID 2020-03-02 11:06:48 +02:00
config.py Format code with black 2019-11-27 12:30:06 +02:00
database.py Sort imports with isort 2019-11-27 12:31:04 +02:00
indexer.py dspace_statistics_api/indexer.py: Use UUID 2020-03-01 21:22:10 +02:00