flytekitplugins.dbt.BaseDBTOutput#

class flytekitplugins.dbt.BaseDBTOutput(command, exit_code)#

Base class for output of DBT task.

Parameters:
  • command (str)

  • exit_code (int)

command#

Complete CLI command and flags that was executed by DBT Task.

Type:

str

exit_code#

Exit code returned by DBT CLI.

Type:

int

Methods

classmethod from_dict(kvs, *, infer_missing=False)#
Parameters:

kvs (dict | list | str | int | float | bool | None)

Return type:

A

classmethod from_json(s, *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw)#
Parameters:

s (str | bytes | bytearray)

Return type:

A

classmethod schema(*, infer_missing=False, only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)#
Parameters:
Return type:

SchemaF[A]

to_dict(encode_json=False)#
Return type:

Dict[str, dict | list | str | int | float | bool | None]

to_json(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, indent=None, separators=None, default=None, sort_keys=False, **kw)#
Parameters:
Return type:

str

Attributes

dataclass_json_config = None
command: str
exit_code: int