common.runtime.exec_info
exec_info_names
def exec_info_names() -> List[TExecInfoNames]
Get names of execution environments
dlt_version_info
def dlt_version_info(pipeline_name: str) -> StrStr
Gets dlt version info including commit and image version available in docker
kube_pod_info
def kube_pod_info() -> StrStr
Extracts information on pod name, namespace and node name if running on Kubernetes
github_info
def github_info() -> StrStr
Extracts github info
in_continuous_integration
def in_continuous_integration() -> bool
Returns True
if currently running inside a continuous integration context.
is_docker
def is_docker() -> bool
Guess if we are running in docker environment.
https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker
Returns:
True
if we are running inside docker, False
otherwise.
is_aws_lambda
def is_aws_lambda() -> bool
Return True if the process is running in the serverless platform AWS Lambda
is_gcp_cloud_function
def is_gcp_cloud_function() -> bool
Return True if the process is running in the serverless platform GCP Cloud Functions
get_execution_context
def get_execution_context() -> TExecutionContext
Get execution context information