1.15.4.dev2+g3e3ce2426

flytekit.models.qubole

This is a deprecated module. Model files for plugins should go alongside the microlib. See plugins/flytekit-kf-pytorch/flytekitplugins/kfpytorch/models.py as an example.

Directory

Classes

Class Description
HiveQuery None.
HiveQueryCollection None.
QuboleHiveJob None.

flytekit.models.qubole.HiveQuery

def HiveQuery(
    query,
    timeout_sec,
    retry_count,
):

Initializes a new HiveQuery.

Parameter Type
query
timeout_sec
retry_count

Methods

Method Description
from_flyte_idl()
serialize_to_string() None
short_string()
to_flyte_idl()
verbose_string()

from_flyte_idl()

def from_flyte_idl(
    pb2_object,
):
Parameter Type
pb2_object

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

to_flyte_idl()

def to_flyte_idl()

verbose_string()

def verbose_string()

Properties

Property Type Description
is_empty
query
retry_count
timeout_sec

flytekit.models.qubole.HiveQueryCollection

def HiveQueryCollection(
    queries,
):

Initializes a new HiveQueryCollection.

Parameter Type
queries

Methods

Method Description
from_flyte_idl()
serialize_to_string() None
short_string()
to_flyte_idl()
verbose_string()

from_flyte_idl()

def from_flyte_idl(
    pb2_object,
):
Parameter Type
pb2_object

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

to_flyte_idl()

def to_flyte_idl()

verbose_string()

def verbose_string()

Properties

Property Type Description
is_empty
queries

flytekit.models.qubole.QuboleHiveJob

def QuboleHiveJob(
    query,
    cluster_label,
    tags,
    query_collection,
):

Initializes a HiveJob.

Parameter Type
query
cluster_label
tags
query_collection

Methods

Method Description
from_flyte_idl()
serialize_to_string() None
short_string()
to_flyte_idl()
verbose_string()

from_flyte_idl()

def from_flyte_idl(
    p,
):
Parameter Type
p

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

to_flyte_idl()

def to_flyte_idl()

verbose_string()

def verbose_string()

Properties

Property Type Description
cluster_label
is_empty
query
query_collection
tags