from mpqp.execution.connection.env_manager import get_env_variable
[docs]def get_google_account_info() -> str:
"""
Get the IonQ API key from the environment variables.
Returns:
str: A string containing the IonQ API key.
"""
ionq_api_key = get_env_variable("IONQ_API_KEY")
if ionq_api_key == "":
display = "Not configured"
else:
display = ionq_api_key[:5] + "*****"
return " IONQ_API_KEY: " + display
[docs]def get_all_job_ids() -> list[str]:
"""
Retrieves all job IDs associated with google jobs.
Returns:
A list of job IDs.
# TODO: get job of google
"""
return []