data-orchestration/hm-prefect/workflows/print-platform/src/main.py
import platform
from prefect import flow, get_run_logger
@flow
def print_platform():
logger = get_run_logger()
logger.info(f"Node: {platform.node()}")
logger.info(f"Platform: {platform.platform()}")
logger.info(f"Python Version: {platform.python_version()}")
if __name__ == "__main__":
print_platform()