airflow.providers.cncf.kubernetes.utils.k8s_hashlib_wrapper

Module Contents

Functions

md5([__string])

Safely allows calling the hashlib.md5 function when usedforsecurity is disabled in configuration.

airflow.providers.cncf.kubernetes.utils.k8s_hashlib_wrapper.md5(__string=b'')[source]

Safely allows calling the hashlib.md5 function when usedforsecurity is disabled in configuration.

Parameters

__string (_typeshed.ReadableBuffer) – The data to hash. Default to empty str byte.

Returns

The hashed value.

Return type

hashlib._Hash

Was this entry helpful?