v1.0.0.post1
API_URL moved from being hardcoded in settings to .env file for the repository version
login function extended and supports two ways of verification; either by user’s credentials (login, password) or by client credentials (client_id, client_secret)
added -dev postfix in versioning for development version
fixed bugs with connection retries for post/get in utils
modified repository url cause by change in repository name
- function that were moved from ResarchObject module to rohub module
- deleted functions
show_available_enums (ResearchObject module)
delete_folder (ResearchObject module)
delete_resource (ResearchObject module)
delete_annotation (ResearchObject module)
owned (rohub)
- added functions
Resource.show_metadata()
Resource.show_full_metadata()
Resource.update_metadata()
Resource.update_content()
Resource.delete()
Resource.assign_doi()
rohub.update_custom_license()
ResearchObject.list_resources()
Resource.download()
ResearchObject.set_publishers()
ResearchObject.list_folders()
- renamed functions
ros_delete_resource ->
rohub.resource_delete()
ros_delete_folder ->
rohub.folder_delete()
ros_delete_annotation ->
rohub.annotation_delete()
search_ros_by_id ->
rohub.ros_search_using_id()
ros_show_publications ->
rohub.ros_list_publications()
ros_show_annotations ->
rohub.ros_list_annotations()
ros_show_triples ->
rohub.ros_list_triples()
ros_show_resources ->
rohub.ros_list_resources()
show_available_licenses ->
rohub.list_available_licenses()
show_valid_research_areas ->
rohub.list_valid_research_areas()
show_valid_access_modes ->
rohub.list_valid_access_modes()
show_valid_ros_types ->
rohub.list_valid_ros_types()
show_valid_templates ->
rohub.list_valid_templates()
show_valid_creation_modes ->
rohub.list_valid_creation_modes()
show_valid_resource_types ->
rohub.list_valid_resource_types()
show_valid_publication_services ->
rohub.list_valid_publication_services()
show_publication ->
ResearchObject.list_publications()
show_annotations ->
ResearchObject.list_annotations()
show_triples ->
ResearchObject.list_triples()
ros_show_triple_details ->
rohub.ros_triple_details()
rohub.ros_add_funding()
-> ros_set_funding (rohub), change reversed in v1.0.2ResearchObject.add_funding()
-> set_funding (ResearchObject module), change reversed in v1.0.2ros_show_authors ->
rohub.ros_list_authors()
show_authors ->
ResearchObject.list_authors()
ros_show_contributors ->
rohub.ros_list_contributors()
show_contributors ->
ResearchObject.list_contributors()
ros_show_copyright ->
rohub.ros_list_copyright()
show_copyright ->
ResearchObject.list_copyright()
ros_show_funding -> ros_list_funding (rohub), renamed again in v1.0.2
show_funding -> list_funding (ResearchObject module), renamed again in v1.0.2
ros_show_license ->
rohub.ros_list_license()
show_license ->
ResearchObject.list_license()
zenodo_show_funders ->
rohub.zenodo_list_funders()
zenodo_show_grants ->
rohub.zenodo_list_grants()
add_author ->
ResearchObject.set_authors()
ros_add_authors ->
rohub.ros_set_authors()
ros_add_license ->
rohub.ros_set_license()
add_license ->
ResearchObject.set_license()
new object - Resource dedicated for working with Resources
enumerators are now being checked with different input format for user’s value e.g. lower case, upper case, title as the legal values in enumerator are no longer consistent
new dependency: pandas
ros_list_resources displays results as Panda’s DataFreame. DataFrame content and displaying sequence was adjusted.
ros_add_author, ros_add_contributor, ros_add_copyright are now using agent parameter instead of display name or user
traversing multiple pages fixed
ros_list_publications displaying now storage_record_id