Executions
-
class
ExecutionHistoryMixin
This class defines all functions related to
notebook executions
.-
get_executions
(start: int = 0, count: int = 20) → Iterator[blueconic.domain.execution.Execution] Gets the executions and returns them in a generator with all
notebook executions
.Parameters: Returns: Iterator with Execution
Return type: Iterator[Execution]
- Usage:
>>> import blueconic >>> bc = blueconic.Client() >>> bc.get_executions() <generator object ExecutionHistory.get_executions>
-
-
class
Execution
-
get_value
(property_id: str) → Union[int, str, float, bool, datetime.date, datetime.datetime, datetime.time, blueconic.domain.hash_map.PropertiesMap, Dict[str, List[Any]], None] Gets the first value of a property.
Parameters: property_id (str) – The ID of the property to retrieve the value from Raises: KeyError – If the ID does not refer to an existing property Returns: The first value of the property Return type: str
-
get_values
(property_id: str) → Sequence[Union[int, str, float, bool, datetime.date, datetime.datetime, datetime.time, blueconic.domain.hash_map.PropertiesMap, Dict[str, List[Any]]]] Gets all values of a property.
Parameters: property_id (str) – The ID of the property to retrieve the values from Raises: KeyError – If the ID does not refer to an existing property Returns: All the values of the property Return type: [str]
-
end_date
Returns the end datetime of the execution.
-
external_identifier
Returns the external identifier of the execution.
-
log_url
Returns the log url of the execution.
-
message
Returns the message of the execution.
-
properties
Returns the properties of this object.
-
property_ids
Returns the property IDs of this object.
-
run_count
Returns the run count of the execution.
-
run_id
Returns the run identifier of the execution.
-
start_date
Returns the start datetime of the execution.
-
state
Returns the state of the execution.
-