Custom Engine (#469)
Allow passing in a custom SQLAlchemy engine through DBOS configuration.
If an engine is passed in, DBOS **exclusively** uses it to access the
system database; it does not construct any engine of its own.
For example:
```python
import sqlalchemy as sa
engine = sa.create_engine(system_database_url)
config: DBOSConfig = {
"name": "dbos-starter",
"system_database_url": system_database_url,
"system_database_engine": engine,
}
DBOS(config=config)
```
Addresses https://github.com/dbos-inc/dbos-transact-py/issues/466 P
Peter Kraft committed
99997e965df3a824109bc74a2c34c92a74c96308
Parent: 2dae7c6
Committed by GitHub <noreply@github.com>
on 9/23/2025, 5:26:55 PM