1.15.4.dev2+g3e3ce2426

flytekit.clients.grpc_utils.wrap_exception_interceptor

Directory

Classes

Class Description
RetryExceptionWrapperInterceptor Affords intercepting unary-unary invocations.

Errors

flytekit.clients.grpc_utils.wrap_exception_interceptor.FlyteAuthenticationException

Assertion failed.

def FlyteAuthenticationException(
    args,
    timestamp: typing.Optional[float],
):
Parameter Type
args *args
timestamp typing.Optional[float]

Properties

Property Type Description
timestamp

flytekit.clients.grpc_utils.wrap_exception_interceptor.FlyteEntityAlreadyExistsException

Assertion failed.

def FlyteEntityAlreadyExistsException(
    args,
    timestamp: typing.Optional[float],
):
Parameter Type
args *args
timestamp typing.Optional[float]

Properties

Property Type Description
timestamp

flytekit.clients.grpc_utils.wrap_exception_interceptor.FlyteEntityNotExistException

Assertion failed.

def FlyteEntityNotExistException(
    args,
    timestamp: typing.Optional[float],
):
Parameter Type
args *args
timestamp typing.Optional[float]

Properties

Property Type Description
timestamp

flytekit.clients.grpc_utils.wrap_exception_interceptor.FlyteException

Common base class for all non-exit exceptions.

def FlyteException(
    args,
    timestamp: typing.Optional[float],
):
Parameter Type
args *args
timestamp typing.Optional[float]

Properties

Property Type Description
timestamp

flytekit.clients.grpc_utils.wrap_exception_interceptor.FlyteInvalidInputException

Common base class for all non-exit exceptions.

def FlyteInvalidInputException(
    request: typing.Any,
):
Parameter Type
request typing.Any

Properties

Property Type Description
timestamp

flytekit.clients.grpc_utils.wrap_exception_interceptor.FlyteSystemException

Common base class for all non-exit exceptions.

def FlyteSystemException(
    args,
    timestamp: typing.Optional[float],
):
Parameter Type
args *args
timestamp typing.Optional[float]

Properties

Property Type Description
timestamp

flytekit.clients.grpc_utils.wrap_exception_interceptor.FlyteSystemUnavailableException

Common base class for all non-exit exceptions.

def FlyteSystemUnavailableException(
    args,
    timestamp: typing.Optional[float],
):
Parameter Type
args *args
timestamp typing.Optional[float]

Properties

Property Type Description
timestamp

flytekit.clients.grpc_utils.wrap_exception_interceptor.RetryExceptionWrapperInterceptor

Affords intercepting unary-unary invocations.

def RetryExceptionWrapperInterceptor(
    max_retries: int,
):
Parameter Type
max_retries int

Methods

Method Description
intercept_unary_stream() Intercepts a unary-stream invocation
intercept_unary_unary() Intercepts a unary-unary invocation asynchronously

intercept_unary_stream()

def intercept_unary_stream(
    continuation,
    client_call_details,
    request,
):

Intercepts a unary-stream invocation.

Parameter Type
continuation
client_call_details
request

intercept_unary_unary()

def intercept_unary_unary(
    continuation,
    client_call_details,
    request,
):

Intercepts a unary-unary invocation asynchronously.

Parameter Type
continuation
client_call_details
request