Skip to content

Commit 175528e

Browse files
committed
Fix EE compilation error
error[E0658]: attributes on expressions are experimental --> windmill-worker/src/python_executor.rs:144:5 | 144 | #[cfg(feature = "enterprise")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #15701 <rust-lang/rust#15701> for more information
1 parent ba11eed commit 175528e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/windmill-worker/src/python_executor.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ pub async fn uv_pip_compile(
142142
};
143143

144144
#[cfg(feature = "enterprise")]
145-
requirements = replace_pip_secret(db, w_id, &requirements, worker_name, job_id).await?;
145+
{
146+
requirements = replace_pip_secret(db, w_id, &requirements, worker_name, job_id).await?;
147+
}
146148

147149
if no_uv || *USE_PIP_COMPILE {
148150
no_uv = true;

0 commit comments

Comments
 (0)