djai.model.models.cloud_ai_svc.base module¶
DjAI Cloud AI Service base model class.
- class djai.model.models.cloud_ai_svc.base.CloudAIService(*args, **kwargs)[source]¶
Bases:
djai.model.models.base.AIModel
DjAI Cloud AI Service model class.
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
Bases:
djai.model.models.base.AIModel.MultipleObjectsReturned
- aimodel_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 aForwardOneToOneDescriptor
instance.
- aimodel_ptr_id¶
- google_translate¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- polymorphic_primary_key_name = 'uuid'¶
- polymorphic_super_sub_accessors_replaced = False¶