Skip to content

Flow

flowtask.components.flow

FlowComponent

FlowComponent(job=None, *args, **kwargs)

Bases: FuncSupport, MaskSupport, LogSupport, ResultSupport, StatSupport, LocaleSupport, AbstractFlow

Abstract

Overview:

    Helper for building components that consume REST APIs

.. table:: Properties

:widths: auto +--------------+----------+-----------+--------------------------------------+ | Name | Required | Summary | +--------------+----------+-----------+--------------------------------------+ | method | Yes | Component for Data Integrator | +--------------+----------+-----------+--------------------------------------+ | attributes | Yes | Attribute: barcode | +--------------+----------+-----------+--------------------------------------+

Return the list of arbitrary days

close abstractmethod async

close()

close.

Close (if needed) component requirements.

conditions_replacement

conditions_replacement(obj)

conditions_replacement.

Replacing occurrences of Conditions into an String. Args: obj (Any): Any kind of object.

Returns:

Name Type Description
Any

Object with replaced conditions.

get_filename

get_filename()

get_filename. Detect if File exists.

run abstractmethod async

run()

run.

Run operations declared inside Component.

start abstractmethod async

start(**kwargs)

start.

Initialize (if needed) a task

var_replacement

var_replacement(obj)

var_replacement.

Replacing occurrences of Variables into an String. Args: obj (Any): Any kind of object.

Returns:

Name Type Description
Any

Object with replaced variables.