MECO™ API Reference
Public Member Functions | List of all members
mMeco.abstract.responseAbs.ResponseContainer Class Reference

[ CLASS ] - Response container. More...

Inheritance diagram for mMeco.abstract.responseAbs.ResponseContainer:

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def responses (self)
 Property. More...
 
def list (self)
 Get responses. More...
 
def getByName (self, name)
 Get response by given type. More...
 

Detailed Description

[ CLASS ] - Response container.

Constructor & Destructor Documentation

◆ __init__()

def mMeco.abstract.responseAbs.ResponseContainer.__init__ (   self)

Constructor.

Exceptions
N/A
Returns
None - None.

Member Function Documentation

◆ responses()

def mMeco.abstract.responseAbs.ResponseContainer.responses (   self)

Property.

Exceptions
N/A
Returns
list of mMeco.abstract.responseAbs.Response - Responses.

◆ list()

def mMeco.abstract.responseAbs.ResponseContainer.list (   self)

Get responses.

Exceptions
AttributeError- If response modules do not have Response class.
Returns
list of mMeco.abstract.responseAbs.Response - Response class instances.

◆ getByName()

def mMeco.abstract.responseAbs.ResponseContainer.getByName (   self,
  name 
)

Get response by given type.

Parameters
name[ str | None | in ] - Name of the response.
Exceptions
ValueError- If response no response found.
ValueError- If response no response found with given type.
Returns
mMeco.abstract.responseAbs.Response - Response class instances.

The documentation for this class was generated from the following file: