mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 11:06:45 +00:00
Update dbt_test_alert.py
This commit is contained in:
parent
c51aa83d0a
commit
4e7b0ea383
@ -50,7 +50,7 @@ def log_test_result():
|
||||
|
||||
def create_message(**kwargs):
|
||||
messageBody = {
|
||||
"text": f"Hey{' <@here>' if len(kwargs['messages']['fail']) > 0 else ''}, new DBT test results for :{os.environ.get('DATABASE').split('_DEV')[0]}: {os.environ.get('DATABASE')}",
|
||||
"text": f"Hey{' <!here>' if len(kwargs['messages']['fail']) > 0 else ''}, new DBT test results for :{os.environ.get('DATABASE').split('_DEV')[0]}: {os.environ.get('DATABASE')}",
|
||||
"attachments": [
|
||||
{
|
||||
"color": kwargs["color"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user