Aug 14, 2024
Rename heartbeats to cron check-ins
Python1.3.8
Changed
-
Rename heartbeats to cron check-ins. Calls to
appsignal.heartbeat
andappsignal.Heartbeat
should be replaced with calls toappsignal.check_in.cron
andappsignal.check_in.Cron
, for example:Python# Before from appsignal import heartbeat def do_something(): pass heartbeat("do_something", do_something) # After from appsignal.check_in import cron def do_something(): pass cron("do_something", do_something)
Deprecated
- Calls to
appsignal.heartbeat
and to theappsignal.Heartbeat
constructor will emit a deprecation warning.
View the Python package v1.3.8 changelog for more information.