Skip to content
Snippets Groups Projects
Commit 09025f8c authored by Swen Vermeul's avatar Swen Vermeul
Browse files

removed EntityType class in favour of OpenBisObject class

parent eb01d7a2
No related branches found
No related tags found
No related merge requests found
from .property_assignment import PropertyAssignments
from .semantic_annotation import SemanticAnnotation
from .attribute import AttrHolder
from .entity_type import EntityType
class SampleType(EntityType):
#from .entity_type import EntityType
from .openbis_object import OpenBisObject
class SampleType(
OpenBisObject,
entity='sampleType',
single_item_method_name='get_sample_type'
):
""" Helper class for sample types, adding functionality.
"""
def __init__(self, openbis_obj, data=None, **kwargs):
def __init_old__(self, openbis_obj, data=None, **kwargs):
# call __init__ of EntityType parent class
super().__init__(openbis_obj, data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment