Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1b56304
added get_items
Apr 15, 2024
48287e1
Merge remote-tracking branch 'origin/main' into dtq
Apr 15, 2024
7442996
do not require pysolr
Apr 15, 2024
5e7e831
log in again, when logged off by timeout
MajoBerger Apr 19, 2024
426a80f
[linter] fix ruff
Jul 3, 2024
ab80cf9
Merge branch 'dtq' of github.com:dataquest-dev/dspace-rest-python int…
Jul 3, 2024
6cd46a3
make logging configurable
Oct 24, 2024
5724696
merged
Oct 24, 2024
3279d5b
removed duplicate code
Feb 5, 2025
a906e75
added remove_metadata and fixed get_item
Mar 16, 2025
1415456
added owningCollection and request validation
Mar 17, 2025
bbc3483
enable result count, otherwise non authenticated might get into problems
Mar 18, 2025
89b6757
docs: fix typos across repo
Nov 5, 2025
9c332d2
added resourcepolicy specific for dtq
Jan 20, 2026
e46b57a
add None check
Jan 21, 2026
5c4e9f0
add resourcePolicy from d
Jan 22, 2026
259a975
add group info to resourcePolicy
jr-rk Feb 12, 2026
73b886e
Merge pull request #10 from dataquest-dev/add_group_to_rp
jr-rk Feb 13, 2026
283e39c
fix group properties adding
jr-rk Feb 13, 2026
59402c0
fix: upstream bugfixes and proxy support
Feb 13, 2026
c7ca664
Remove upstream_ref from .gitignore
vidiecan Feb 13, 2026
291bc46
add rp by ai
Feb 16, 2026
3b3063a
fix rp create/delete
jr-rk Feb 17, 2026
e02c3f7
Merge pull request #13 from dataquest-dev/rp_ai
vidiecan Feb 17, 2026
1121bc7
added repr to ResourcePolicy
Feb 18, 2026
7c3c515
Merge pull request #11 from dataquest-dev/fix/upstream-bugfixes-and-p…
milanmajchrak Feb 18, 2026
9f3cd61
reauth
Feb 19, 2026
44fb29e
Merge branch 'dtq' of https://github.com/dataquest-dev/dspace-rest-py…
Feb 19, 2026
e1c05a9
better logs
Feb 23, 2026
51b65fe
add timeout
Feb 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions console.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from dspace_rest_client.client import DSpaceClient
from dspace_rest_client.models import Community, Collection, Item, Bundle, Bitstream
import code
import logging
import os

# The DSpace client will look for the same environment variables but we can also look for them here explicitly
Expand All @@ -22,7 +20,7 @@
# Authenticate against the DSpace client
authenticated = d.authenticate()
if not authenticated:
print(f'Error logging in! Giving up.')
print('Error logging in! Giving up.')
exit(1)

code.interact(local=locals())
Loading
Loading