Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@property
def data(self):
"""
TODO:
:return:
"""
return self._data
class ComponentRaw(ComponentBase):
def __init__(self):
#
super().__init__()
class Component1D(ComponentBase):
"""
TODO:
"""
#
def __init__(self, buffer=None, part=None):
"""
TODO: __init__
:param buffer:
:param part:
"""
#
super().__init__(buffer=buffer)
def __repr__(self):
return '{0} elements,\n{1}'.format(
self.data.size,
"""
TODO:
:return:
"""
return self._buffer.source_id
@property
def data(self):
"""
TODO:
:return:
"""
return self._data
class ComponentRaw(ComponentBase):
def __init__(self):
#
super().__init__()
class Component1D(ComponentBase):
"""
TODO:
"""
#
def __init__(self, buffer=None, part=None):
"""
TODO: __init__
:param buffer:
:param part:
"""
"""
TODO: __init__
:param buffer:
:param part:
"""
#
super().__init__(buffer=buffer)
def __repr__(self):
return '{0} elements,\n{1}'.format(
self.data.size,
self.data
)
class Component2D(ComponentBase):
"""
TODO:
"""
def __init__(self, buffer=None, part=None, node_map=None):
"""
TODO: __init__
:param buffer:
:param part:
:param node_map:
"""
#
assert node_map
assert buffer
#
super().__init__(buffer=buffer)