utils.dtos.templateOutput

Module Contents

Classes

OutputType

str(object='') -> str

ChartType

str(object='') -> str

FileType

str(object='') -> str

DatasetOutput

ArtifactOutput

ChartOutput

ModelOutput

AnswerOutput

TemplateOutput

Attributes

logger

utils.dtos.templateOutput.logger
class utils.dtos.templateOutput.OutputType

Bases: str, enum.Enum

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

ENTITY = 'ENTITY'
RC_ML_MODEL = 'RC_ML_MODEL'
ARTIFACT = 'ARTIFACT'
METADATA = 'METADATA'
CHART = 'CHART'
ANSWER = 'ANSWER'
DASHBOARD = 'DASHBOARD'
class utils.dtos.templateOutput.ChartType

Bases: str, enum.Enum

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

BAR = 'BAR'
BAR_1 = 'BAR_1'
HISTOGRAM = 'HISTOGRAM'
TABLE = 'TABLE'
AGG_TABLE = 'AGG_TABLE'
DATAPROFILER = 'DATAPROFILER'
HTML = 'HTML'
IMAGE = 'IMAGE'
ANY = 'ANY'
JSON = 'JSON'
CUSTOM_MODULE = 'CUSTOM'
class utils.dtos.templateOutput.FileType

Bases: str, enum.Enum

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

CSV = 'CSV'
PARQUET = 'PARQUET'
HTML = 'HTML'
JSON = 'JSON'
PNG = 'PNG'
JPG = 'JPG'
PATH = 'PATH'
class utils.dtos.templateOutput.DatasetOutput(df)
class utils.dtos.templateOutput.ArtifactOutput
class utils.dtos.templateOutput.ChartOutput(figure)
class utils.dtos.templateOutput.ModelOutput(model_obj, artifacts, version='default')
class utils.dtos.templateOutput.AnswerOutput(answer)
class utils.dtos.templateOutput.TemplateOutput(outputType: OutputType, dataDir: str, dataFileName: str, dataFileType: FileType = FileType.PARQUET, custom_params: dict = {}, metadata: dict = {}, description=None, group=None)
VALID_CHART_TYPES
set_metadata_list(metadata_list)
set_artifacts(artifacts)
set_answer(answer)
set_rc_ml_model_object(rc_ml_model_object)
set_rc_ml_model_version(rc_ml_model_version)
setFileType(fileType: FileType)
setName(name: str)
setChartType(chartType: ChartType)
setChartConfig(chartConfig)
persist(context={})
show(width=700, height=700)
__remove_local_prefix(entities_map)