The GitHub Actions job "Build Images" on airflow.git has succeeded.
Run started by GitHub user XD-DENG (triggered by XD-DENG).

Head commit for run:
70499c6502e1e5428c765cc0ad76497fe07fcbcd / Xiaodong DENG <[email protected]>
Clearer code for PodGenerator.deserialize_model_file

Especially for how it handles non-existent file.

When the file path received doesn't exist, the current way is to use 
yaml.safe_load()
to process it, and it returns the path as a string.

Then this string is passed to deserialize_model_dict() and results in an empty 
object.
Passing 'None' to deserialize_model_dict() will do the same, but the code will 
become clearer, and less misleading.

Meanwhile, when the model file path received doesn't exist, there should be a 
warning in the log.

(This change shouldn't cause any behaviour change)

Report URL: https://github.com/apache/airflow/actions/runs/3115248932

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to