web Package¶
web Package¶
api Module¶
-
class
fastr.web.api.NetworkApi(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
__module__= 'fastr.web.api'¶
-
endpoint= 'api_network'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
fastr.web.api.NetworkListApi(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
__module__= 'fastr.web.api'¶
-
endpoint= 'api_networks'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
fastr.web.api.ObjectUrl(object_classs, **kwargs)[source]¶ Bases:
flask_restplus.fields.Raw-
__module__= 'fastr.web.api'¶
-
__schema_type__= 'string'¶
-
__slotnames__= []¶
-
-
class
fastr.web.api.Run(id_, network, source_data, sink_data)[source]¶ Bases:
object-
__dict__= dict_proxy({'status': <function status>, '__module__': 'fastr.web.api', 'abort': <function abort>, '__dict__': <attribute '__dict__' of 'Run' objects>, '__weakref__': <attribute '__weakref__' of 'Run' objects>, '__doc__': None, '__init__': <function __init__>, 'run_network': <function run_network>})¶
-
__module__= 'fastr.web.api'¶
-
__weakref__¶ list of weak references to the object (if defined)
-
-
class
fastr.web.api.RunApi(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.ResourceRun API documentation
-
__module__= 'fastr.web.api'¶
-
endpoint= 'api_run'¶
-
mediatypes(resource_cls)¶
-
methods= ['DELETE', 'GET']¶
-
-
class
fastr.web.api.RunListApi(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
__module__= 'fastr.web.api'¶
-
endpoint= 'api_runs'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET', 'POST']¶
-
request_parser= <flask_restplus.reqparse.RequestParser object>¶
-
-
class
fastr.web.api.StatusApi(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
__module__= 'fastr.web.api'¶
-
endpoint= 'api_status'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
fastr.web.api.SubUrl(object_classs, subfield, **kwargs)[source]¶ Bases:
flask_restplus.fields.Raw-
__module__= 'fastr.web.api'¶
-
__schema_type__= 'string'¶
-
-
class
fastr.web.api.ToolApi(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
__module__= 'fastr.web.api'¶
-
endpoint= 'api_version_tool'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
fastr.web.api.ToolListApi(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
__module__= 'fastr.web.api'¶
-
endpoint= 'api_tools'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-