Commit fb8b590
Allow virtualenv code to access connections/variables and send logs (apache#57213)
This change is quite simple, as it simply calls the function added in apache#57212
if it's available. Up until the point that it is released this code will not
hit the `getattr` will return None and be a no-op.
I didn't use the walrus operator here as _theoretically_ someone could be
using this to run in a Python that doesn't support it.
Fixes apache#51422, fixes apache#54706
Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>1 parent ff4e471 commit fb8b590
File tree
1 file changed
+11
-3
lines changed- providers/standard/src/airflow/providers/standard/utils
1 file changed
+11
-3
lines changedLines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
| |||
49 | 59 | | |
50 | 60 | | |
51 | 61 | | |
52 | | - | |
53 | 62 | | |
54 | | - | |
55 | 63 | | |
56 | 64 | | |
57 | | - | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
| |||
0 commit comments