Skip to content

Commit 3866b8e

Browse files
committed
fix: make execution_time a positional argument
1 parent 6060ac8 commit 3866b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlmesh/core/context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,17 +2247,17 @@ def audit(
22472247
self,
22482248
start: TimeLike,
22492249
end: TimeLike,
2250+
execution_time: t.Optional[TimeLike] = None,
22502251
*,
22512252
models: t.Optional[t.Iterator[str]] = None,
2252-
execution_time: t.Optional[TimeLike] = None,
22532253
) -> bool:
22542254
"""Audit models.
22552255
22562256
Args:
22572257
start: The start of the interval to audit.
22582258
end: The end of the interval to audit.
2259-
models: The models to audit. All models will be audited if not specified.
22602259
execution_time: The date/time time reference to use for execution time. Defaults to now.
2260+
models: The models to audit. All models will be audited if not specified.
22612261
22622262
Returns:
22632263
False if any of the audits failed, True otherwise.

0 commit comments

Comments
 (0)