Skip to content

Commit ff95169

Browse files
committed
refactor
1 parent afaf9d0 commit ff95169

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/mlops_demo-bundle-cd-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
prod:
22-
if: github.ref == 'refs/heads/master' # Ensures it runs only if the main branch is tagged
22+
#if: github.ref == 'refs/heads/master' # Ensures it runs only if the main branch is tagged
2323
concurrency: mlops_demo-prod-bundle-job
2424
runs-on: ubuntu-latest
2525
steps:

mlops_demo/deployment/batch_inference/notebooks/PrepareBatchInferenceInput.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ def rounded_unix_timestamp(dt, num_minutes=15):
1717
delta = math.ceil(nsecs / (60 * num_minutes)) * (60 * num_minutes) - nsecs
1818
return int((dt + timedelta(seconds=delta)).replace(tzinfo=timezone.utc).timestamp())
1919

20-
2120
rounded_unix_timestamp_udf = F.udf(rounded_unix_timestamp, IntegerType())
2221

2322

0 commit comments

Comments
 (0)