mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-02 04:20:55 +01:00
Bugfixes
This commit is contained in:
parent
43bf90d1ca
commit
e4214a1705
2 changed files with 15 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue