gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
This commit is contained in:
12
core/utils/dd.py
Executable file
12
core/utils/dd.py
Executable file
@@ -0,0 +1,12 @@
|
||||
from core import exceptions
|
||||
|
||||
|
||||
def dd(
|
||||
*args, message: str | None = None, data: dict | list | None = None
|
||||
) -> None:
|
||||
"""
|
||||
Dump the given variables and then raise a SystemExit exception
|
||||
to stop execution of the script.
|
||||
"""
|
||||
|
||||
raise exceptions.BreakException(args, message=message, data=data)
|
||||
Reference in New Issue
Block a user