sw.views package

Submodules

sw.views.objects module

sw.views.views module

sw.views.views_mixins module

sw.views.views_mixins

Mixins for sw application views

class sw.views.views_mixins.ClusterConfigViewMixin

Bases: object

Additional methods for views having cluster config options

get_module_list(data)

Returns the ‘module_list’ option

get_sbatch_list(data)

Returns the ‘sbatch_list’ option

class sw.views.views_mixins.CmdViewMixin

Bases: object

Additional methods for views having ‘cmd’ and ‘cmd_option’ options

get_cmd_option_value(data)

Returns the ‘cmd_option’ value

Reads and adapts the ‘cmd_option’ value found in data

Default value : “”

get_cmd_value(data)

Returns the ‘cmd’ value

Reads and adapts the ‘cmd’ value found in data

Default value : “”

class sw.views.views_mixins.InputFilesViewMixin

Bases: object

Additional methods for views having ‘file’ and ‘files_order’ options

get_files(data)

Returns the list of input files from ‘file’ option

get_files_order(data)

Returns the list of the file names from ‘files_order’ option

class sw.views.views_mixins.ReturnViewMixin

Bases: object

Additional methods for views having ‘returned_type’ and ‘todownload’ options

get_returned_type_value(data)

Returns the ‘returned_type’ value

Reads and adapts the ‘returned_type’ value found in data

Default value : “stdout”

get_todownload_value(data, returned_type)

Returns as a bool the ‘todownload’ value

Reads and adapts the ‘todownload’ value found in data

Default value : False

sw.views.views_run_mixins module

Module contents

sw.views

This package is part of ws web services

copyright

Copyright (C) 2020-2024 INRAE http://www.inrae.fr

license

GPLv3, see LICENSE file for more details

authors

see AUTHORS file

Views of sw application