CrudStub#

class ansys.speos.core.kernel.crud.CrudStub(stub)#

Wraps a speos gRPC CRUD connection.

This class is used as base class for all Speos databases interactions. Better use directly those inherited classes like SOPTemplateStub, SpectrumStub, …

Overview#

create

Create a new entry.

read

Get an existing entry.

update

Change an existing entry.

delete

Remove an existing entry.

list

List existing entries.

Import detail#

from ansys.speos.core.kernel.crud import CrudStub

Method detail#

CrudStub.create(request)#

Create a new entry.

CrudStub.read(request)#

Get an existing entry.

CrudStub.update(request)#

Change an existing entry.

CrudStub.delete(request)#

Remove an existing entry.

CrudStub.list(request)#

List existing entries.