0.1.dev2184+g1e0cbe7.d20250401

flytekit.core.tracked_abc

Directory

Classes

Class Description
FlyteTrackedABC This class exists because if you try to inherit from abc.

flytekit.core.tracked_abc.FlyteTrackedABC

This class exists because if you try to inherit from abc.ABC and TrackedInstance by itself, you’ll get the well-known TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases error.

Methods

Method Description
register() Register a virtual subclass of an ABC.

register()

def register(
    cls,
    subclass,
)

Register a virtual subclass of an ABC.

Returns the subclass, to allow usage as a class decorator.

Parameter Type
cls
subclass