Files
2026-11-26 00:53:32 +00:00

22 lines
550 B
Python

# Baserow plugin lifecycle hooks.
# No third-party dependencies required; uses only Python stdlib (urllib).
def install():
"""Prepare plugin after installation or update."""
try:
import urllib.request # noqa: F401
except Exception as e:
raise RuntimeError(f"Baserow plugin requires urllib (stdlib): {e}") from e
return True
def pre_update():
"""Called before plugin code update."""
return True
def uninstall():
"""Remove plugin-owned state. No external processes or deps to stop."""
return True