馃 TIL
Never Call `spark.stop()` in Databricks Workflows
Never call spark.stop() in Databricks workflows. Explicitly call sys.exit().
Never call spark.stop() in Databricks workflows. Explicitly call sys.exit().
How treating your LLM Tools like humans can help you build personal AI copilots.
Mypy only narrows Union[T, None] when it sees an explicit check for None or an assertion. This behaviour leads to type errors that may seem unintuitive to solve.