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

changed entity from Material to material

parent 10a7a22b
No related branches found
No related tags found
No related merge requests found
...@@ -9,11 +9,11 @@ class Material(OpenBisObject): ...@@ -9,11 +9,11 @@ class Material(OpenBisObject):
""" """
def __init__(self, openbis_obj, type, data=None, props=None, **kwargs): def __init__(self, openbis_obj, type, data=None, props=None, **kwargs):
self.__dict__['entity'] = 'Material' self.__dict__['entity'] = 'material'
self.__dict__['openbis'] = openbis_obj self.__dict__['openbis'] = openbis_obj
self.__dict__['type'] = type self.__dict__['type'] = type
self.__dict__['p'] = PropertyHolder(openbis_obj, type) self.__dict__['p'] = PropertyHolder(openbis_obj, type)
self.__dict__['a'] = AttrHolder(openbis_obj, 'Material', type) self.__dict__['a'] = AttrHolder(openbis_obj, 'material', type)
if data is not None: if data is not None:
self._set_data(data) self._set_data(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