Standardise docstring summary line placement.
This commit is contained in:
@@ -35,7 +35,8 @@ class NodeStateInstructionGreen(object):
|
||||
self.state = _state
|
||||
|
||||
def get_start_step(self):
|
||||
"""Gets the start step.
|
||||
"""
|
||||
Gets the start step.
|
||||
|
||||
Returns:
|
||||
The start step
|
||||
@@ -43,7 +44,8 @@ class NodeStateInstructionGreen(object):
|
||||
return self.start_step
|
||||
|
||||
def get_end_step(self):
|
||||
"""Gets the end step.
|
||||
"""
|
||||
Gets the end step.
|
||||
|
||||
Returns:
|
||||
The end step
|
||||
@@ -51,7 +53,8 @@ class NodeStateInstructionGreen(object):
|
||||
return self.end_step
|
||||
|
||||
def get_node_id(self):
|
||||
"""Gets the node ID.
|
||||
"""
|
||||
Gets the node ID.
|
||||
|
||||
Returns:
|
||||
The node ID
|
||||
@@ -59,7 +62,8 @@ class NodeStateInstructionGreen(object):
|
||||
return self.node_id
|
||||
|
||||
def get_node_pol_type(self):
|
||||
"""Gets the node pattern of life type (enum).
|
||||
"""
|
||||
Gets the node pattern of life type (enum).
|
||||
|
||||
Returns:
|
||||
The node pattern of life type (enum)
|
||||
@@ -67,7 +71,8 @@ class NodeStateInstructionGreen(object):
|
||||
return self.node_pol_type
|
||||
|
||||
def get_service_name(self):
|
||||
"""Gets the service name.
|
||||
"""
|
||||
Gets the service name.
|
||||
|
||||
Returns:
|
||||
The service name
|
||||
@@ -75,7 +80,8 @@ class NodeStateInstructionGreen(object):
|
||||
return self.service_name
|
||||
|
||||
def get_state(self):
|
||||
"""Gets the state (node or service).
|
||||
"""
|
||||
Gets the state (node or service).
|
||||
|
||||
Returns:
|
||||
The state (node or service)
|
||||
|
||||
Reference in New Issue
Block a user