dbos-inc / dbos-transact-py

Ultra-Lightweight Durable Execution in Python
https://docs.dbos.dev
MIT License
244 stars 7 forks source link

Start splitting up DBOS and elevating public API #61

Closed chuck-dbos closed 2 months ago

chuck-dbos commented 2 months ago

Make DBOS more of a facade, and push implementation stuff out of it.

This is going well on peripheral stuff and helpers, but the core implementation and large method implementations ought to be movable also, either as part of this PR or as follow-ons.

Also moved a few public things to init.py, and reviewed the tests to see if they are pulling from there.

qianl15 commented 2 months ago

Export errors in a separate PR.

chuck-dbos commented 2 months ago

Also export type info

I added 'py.typed' which is supposed to help the next tool in the chain, but someone who had a problem will have to see if that helped.

chuck-dbos commented 2 months ago

Export errors in a separate PR.

This was only a couple lines, so I did it in this PR.

qianl15 commented 2 months ago

Export errors in a separate PR.

This was only a couple lines, so I did it in this PR.

Did you push your changes?