From cff51f05f56276a137c0b399a92242ae43776fca Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 1 Jun 2026 14:10:40 -0700 Subject: [PATCH] chore: format --- .../static/swagger-ui/swagger-ui-bundle.js | 62 +++++++++---------- backend/open_webui/utils/automations.py | 4 +- 2 files changed, 29 insertions(+), 37 deletions(-) diff --git a/backend/open_webui/static/swagger-ui/swagger-ui-bundle.js b/backend/open_webui/static/swagger-ui/swagger-ui-bundle.js index 2bb7c93062..c18e0dab76 100644 --- a/backend/open_webui/static/swagger-ui/swagger-ui-bundle.js +++ b/backend/open_webui/static/swagger-ui/swagger-ui-bundle.js @@ -36515,16 +36515,14 @@ Re.createElement('span', { className: 'brace-close' }, '}') ), de.size - ? de - .entrySeq() - .map(([s, o]) => - Re.createElement(Pe, { - key: `${s}-${o}`, - propKey: s, - propVal: o, - propClass: 'property' - }) - ) + ? de.entrySeq().map(([s, o]) => + Re.createElement(Pe, { + key: `${s}-${o}`, + propKey: s, + propVal: o, + propClass: 'property' + }) + ) : null ); } @@ -36666,16 +36664,14 @@ Re.createElement('span', { className: 'prop-type' }, C), j && Re.createElement('span', { className: 'prop-format' }, '($', j, ')'), z.size - ? z - .entrySeq() - .map(([s, o]) => - Re.createElement(ae, { - key: `${s}-${o}`, - propKey: s, - propVal: o, - propClass: ts - }) - ) + ? z.entrySeq().map(([s, o]) => + Re.createElement(ae, { + key: `${s}-${o}`, + propKey: s, + propVal: o, + propClass: ts + }) + ) : null, x && V.size > 0 ? Re.createElement(pe, { extensions: V, propClass: `${ts} extension` }) @@ -58957,20 +58953,18 @@ Re.createElement( 'div', { className: 'modal-ux-content' }, - w - .valueSeq() - .map((w, C) => - Re.createElement(x, { - key: C, - AST: _, - definitions: w, - getComponent: i, - errSelectors: a, - authSelectors: s, - authActions: o, - specSelectors: u - }) - ) + w.valueSeq().map((w, C) => + Re.createElement(x, { + key: C, + AST: _, + definitions: w, + getComponent: i, + errSelectors: a, + authSelectors: s, + authActions: o, + specSelectors: u + }) + ) ) ) ) diff --git a/backend/open_webui/utils/automations.py b/backend/open_webui/utils/automations.py index c0b119d9c2..10f90da795 100644 --- a/backend/open_webui/utils/automations.py +++ b/backend/open_webui/utils/automations.py @@ -505,9 +505,7 @@ async def _check_calendar_alerts(app) -> None: grace_ns = (SCHEDULER_POLL_INTERVAL + 5) * 1_000_000_000 async with get_async_db() as db: - upcoming = await CalendarEvents.get_upcoming_events( - now_ns, default_lookahead_ns, grace_ns=grace_ns, db=db - ) + upcoming = await CalendarEvents.get_upcoming_events(now_ns, default_lookahead_ns, grace_ns=grace_ns, db=db) if not upcoming: return