Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
if AIRBRAKE_PROJECT_KEY and AIRBRAKE_PROJECT_ID:
self.airbrake_notifier = pybrake.Notifier(
project_id=AIRBRAKE_PROJECT_ID,
project_key=AIRBRAKE_PROJECT_KEY,
environment=ENV,
)