djai.data.models.live_api module

DjAI Image DataSet class.

class djai.data.models.live_api.LiveAPIDataSource(*args, **kwargs)[source]

Bases: djai.data.models.base.DataSet

DjAI Image DataSet class.

class Meta[source]

Bases: polymorphic.models.PolymorphicModel.Meta

Django Model Class Metadata.

abstract = False
dataset_ptr

Accessor to the related object on the forward side of a one-to-one relation.

In the example:

class Restaurant(Model):
    place = OneToOneField(Place, related_name='restaurant')

Restaurant.place is a ForwardOneToOneDescriptor instance.

dataset_ptr_id
polymorphic_primary_key_name = 'uuid'
polymorphic_super_sub_accessors_replaced = False