heliport.unicore package

Subpackages

Submodules

heliport.unicore.admin module

Registers Django admin pages.

See django.contrib.admin.ModelAdmin from Django documentation.

heliport.unicore.apps module

Django app configuration.

Some HELIPORT hooks can be registered in app config django.apps.AppConfig.ready().

See also Django documentation

class heliport.unicore.apps.UnicoreConfig(app_name, app_module)

Bases: AppConfig

App configuration for the unicore app.

default_auto_field = 'django.db.models.BigAutoField'
name = 'heliport.unicore'
ready()

Register object types and import settings.

heliport.unicore.conf module

heliport.unicore.decorators module

heliport.unicore.decorators.require_content_type(content_type)

Decorator factory to ensure a request uses the correct Content-Type.

heliport.unicore.interface module

Module with special name “interface” hooks into HELIPORT.

Some functions and heliport.core.app_interaction.Module subclasses are detected by HELIPORT and control how HELIPORT uses this app.

Note that this module must be imported in __init__.py of the django app.

class heliport.unicore.interface.UnicoreJobs

Bases: DigitalObjectModule

get_url(project)

Return the URL for the entry point of this module.

module_id = 'unicore_jobs'
name = 'UNICORE Jobs'
property object_class

DBJob.

class heliport.unicore.interface.UnicoreStorages

Bases: DigitalObjectModule

get_url(project)

Return the URL for the entry point of this module.

module_id = 'unicore_storages'
name = 'UNICORE Storages'
property object_class

DBPathDir and DBPathFile.

heliport.unicore.mixins module

heliport.unicore.models module

heliport.unicore.tests module

heliport.unicore.urls module

heliport.unicore.views module

Module contents

App to store metadata about and show results of unicore workflows.

The interface module is imported to the top level of the package for HELIPORT app interface discovery (see heliport.core.app_interaction.get_heliport_apps()).