Skip to content
Commit 7091dfb8 authored by Lingkai Dong's avatar Lingkai Dong
Browse files

azure-update: Make functions callable from Python scripts



In azure_device_update.py, functions wrapped with the click module can
be called from command line, but they cannot be called from another
Python script like normal functions because click overrides function
parameters.

To allow Azure Device Update functions to be called from another Python
script, put implementation code in regular functions and make click-
wrapped commands call those implementation functions.

Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
parent a54fca1c
Loading
Loading
Loading
Pipeline #2917 failed with stage
in 10 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment