1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-02 04:20:55 +01:00
This commit is contained in:
prieto 2016-09-29 09:43:48 +02:00
commit e4214a1705
2 changed files with 15 additions and 4 deletions

View file

@ -62,6 +62,10 @@ class DataHandler(object):
@classmethod
def is_reference(cls):
return issubclass(cls, Reference)
@classmethod
def is_singlereference(cls):
return issubclass(cls, SingleRef)
def is_primary_key(self):
return self.primary_key