dicogis.ui.wdg_tab_publish module¶
- Name:
TabPublish
- Purpose:
Tab to publish previously exported metadata (JSON files) to a uData catalog, from DicoGIS Notebook.
- Author:
Julien Moura (@geojulien)
- class dicogis.ui.wdg_tab_publish.TabPublish(parent=None)¶
Bases:
QWidgetTab form to publish DicoGIS metadata JSON files to a uData catalog.
- Parameters:
QWidget – inherited Qt widget
- __init__(parent=None)¶
Initializes UI tab for uData publication.
- Parameters:
parent (
QWidget|None) – Qt parent widget
- get_publish_options()¶
Return publish options as a dict. The API key is not included: it is not persisted to options.ini for security reasons.
- Return type:
- get_udata_organization_id()¶
Return the currently entered uData organization ID, or None if empty.
- on_browse_input_folder()¶
Browse and insert the path of the folder containing JSON metadata files.
- show_report(report)¶
Display a publish_metadata_folder() report in the tab.
- Parameters:
report (
PublishReport) – outcome of the publication run.- Return type: