DatabaseEdiabas

Summary

Represents an Ediabas Database object.

See also

Database

Methods
Properties

Structure

class DatabaseEdiabas
disconnect_ediabas() bool

Attempts to disconnect the ediabas.

Returns

True if is_ediabas_connected value is True and the method disconnects the API, False if the is_ediabas_connected value is already False

Return type

bool

get_all_diag_jobs() List[str]

Gets a list of all the diag jobs of the database.

Returns

List of all the diag jobs of the database.

Return type

List[str]

get_arguments_for_job(job: str) List[Tuple[str, str]]

Gets a list of a job arguments of a job from the database.

Parameters

job (str) – Desired Job.

Returns

List of job arguments.

Return type

List[Tuple[str, str]]

get_path() str

Gets the path of the database.

Returns

The path of the database

Return type

str

reconnect() bool

Attempts to reconnect the ediabas database

Returns

True if the reconnection attempt was successful, False if not.

Return type

bool

send_job(job_name: str, aguments: str) List[Dictionary[str, str]]

Sends a specific job

Parameters
  • job_name (str) – Job name.

  • aguments (str) – Job arguments.

Returns

A dictionary of the job result.

Return type

List[Dictionary[str, str]]

file_name

Database's file name.

Type

str

is_connected

Boolean flag to get the connection status of the message. True if a TCP connection exists. Otherwise, False.

Type

bool

is_ediabas_connected

True if the ediabas is connected, False if not.

Type

bool