You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to add an ArchivesSpace class, which I wrote as part of delete_dometadata.py. The class includes a client login as part of the class instance and the following methods:
get_repo_info - Gets all the repository information for an ArchivesSpace instance in a list and assigns it to self.repo_info
get_objects - Intakes a repository URI and returns all the digital object IDs as a list for that repository
get_object - Get and return a digital object JSON metadata from its URI
update_object - Posts the updated JSON metadata for the given object_uri to ArchivesSpace
I'd also like to add the record_error function, which prints and logs an error message and the code/parameters causing the error using the loguru package.
Describe the solution you'd like
I'll add the above to the utilities.py, working with the CAAS team to integrate the client_login() function that already exists with the new ArchivesSpace class.
Describe alternatives you've considered
N/A
Additional context
Adding more capabilities with the ArchivesSpace class so we don't have to keep copy/pasting the same functions when updating metadata.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'd like to add an ArchivesSpace class, which I wrote as part of delete_dometadata.py. The class includes a client login as part of the class instance and the following methods:
I'd also like to add the record_error function, which prints and logs an error message and the code/parameters causing the error using the loguru package.
Describe the solution you'd like
I'll add the above to the utilities.py, working with the CAAS team to integrate the client_login() function that already exists with the new ArchivesSpace class.
Describe alternatives you've considered
N/A
Additional context
Adding more capabilities with the ArchivesSpace class so we don't have to keep copy/pasting the same functions when updating metadata.
The text was updated successfully, but these errors were encountered: