v1.1.0
docstrings were updated with information about preserving order for agents
rohub.resource_download()now supports redirection; a specific type of resource can be redirected as EGI notebook urlthe docstrings attached to the following functions were updated with template of how the data should be provided for non-existing agents:
rohub.ros_set_authors(),rohub.ros_set_contributors(),rohub.ros_set_copyright_holders(),rohub.ros_set_publishers(),ResearchObject.set_copyright_holders(),ResearchObject.set_publishers(),ResearchObject.set_authors(),ResearchObject.ros_set_contributors()renaming the possible format in
rohub.ros_export_to_create()from json-ld to jsonld for convenience purposesshared_link is now accessible as an attribute of the Resource object
clarified doctsring in
rohub.ros_add_annotations()direct hyperlink to the package site and to the LICENSE file fixed in README
fixed typo in
rohub.resource_delete_license()bugfix to optional parameter object_class not being accepted in
rohub.ros_add_triple()results for
rohub.ros_find()extended with new metadatabugfix in
rohub.resource_update_metadata()it will no longer send a faulty request when resource type was set to empty stringbody_specification_json is from now required when using
rohub.ros_add_geolocation()andResarchObject.ros_add_geolocation()rohub.update_custom_license()moved to the admin module due to the change of permissions- added functions:
Resource.list_keywords()Resource.add_keywords()Resource.set_keywords()Resource.delete_keywords()ResarchObject.aggregate_datacube()admin.delete_community()admin.update_community()ResearchObject.list_communities()ResarchObject.add_community()ResarchObject.set_community()ResarchObject.delete_communities()ResarchObject.add_main_entity()ResarchObject.delete_main_entity()admin.delete_custom_license()ResarchObject.list_sketch()ResarchObject.add_sketch()
bugfix in
ResarchObject.list_triples(); now the annotations will be automatically reloaded from the API to align python object with current API status, otherwise some new annotations could not appear until the object was reloaded