model#

relationalai.Type
#Type.model

Returns the Model to which the Type belongs.

Example#

#import relationalai as rai

model = rai.Model("myModel")
MyType = model.Type("MyType")

print(model == MyType.model)
# Output:
# True

See also#