flytekitplugins.dolt.DoltConfig#

class flytekitplugins.dolt.DoltConfig(db_path: str, tablename: Union[str, NoneType] = None, sql: Union[str, NoneType] = None, io_args: Union[dict, NoneType] = None, branch_conf: Union[dolt_integrations.core.interface.Branch, NoneType] = None, meta_conf: Union[dolt_integrations.core.interface.Meta, NoneType] = None, remote_conf: Union[dolt_integrations.core.interface.Remote, NoneType] = None)[source]#

Methods

Parameters
Return type

None

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

kvs (Optional[Union[dict, list, str, int, float, bool]]) –

Return type

dataclasses_json.api.A

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

s (Union[str, bytes, bytearray]) –

Return type

dataclasses_json.api.A

classmethod schema(*, infer_missing=False, only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)#
Parameters
  • infer_missing (bool) –

  • many (bool) –

  • partial (bool) –

Return type

dataclasses_json.mm.SchemaF[dataclasses_json.mm.A]

to_dict(encode_json=False)#
Return type

Dict[str, Optional[Union[dict, list, str, int, float, bool]]]

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

branch_conf: Optional[dolt_integrations.core.interface.Branch] = None#
io_args: Optional[dict] = None#
meta_conf: Optional[dolt_integrations.core.interface.Meta] = None#
remote_conf: Optional[dolt_integrations.core.interface.Remote] = None#
sql: Optional[str] = None#
tablename: Optional[str] = None#
db_path: str#