Lance Edgar
4a6897c6de
fix: add make_proxy()
convenience method for data model Base
2025-01-25 16:26:14 -06:00
Lance Edgar
a514d9cfba
feat: add basic batch feature, data model and partial handler
...
hopefully data model is complete enough for now, but handler does not
yet have all methods, e.g. execute()
2024-12-15 00:45:07 -06:00
Lance Edgar
51accc5a93
feat: add basic db handler, for tracking counter values
...
more to come i'm sure, this is all i need so far
2024-12-15 00:45:05 -06:00
Lance Edgar
e1785ccfcc
feat: convert all uuid fields from str to proper UUID
...
ugh had to rewrite alembic migrations instead of just adding a new
one.. will be good to be past this hiccup
2024-12-07 23:45:47 -06:00
Lance Edgar
d95b101dbf
fix: add db.util.make_topo_sortkey()
function
2024-12-03 21:53:30 -06:00
Lance Edgar
028c64fc12
fix: use true UUID type for Upgrades table primary key
...
hopefully can use this everywhere soon but let's start slow and test
2024-11-30 19:59:59 -06:00
Lance Edgar
4c51189d41
fix: move model base class out of model subpkg
...
and other things, used by other packages (rattail)
otherwise when rattail imports them, the whole WJ model comes along
with it and it can interfere with sqlalchemy-continuum versioning
2024-08-30 20:30:09 -05:00
Lance Edgar
110ff69d6d
feat: add table/model for app upgrades
2024-08-24 10:20:05 -05:00
Lance Edgar
08689f494f
feat: add dict-like behavior to model class instances
2024-08-11 15:23:14 -05:00
Lance Edgar
43ca404837
feat: add model for Person; tie to User
2024-07-14 15:47:39 -05:00
Lance Edgar
60d3fcd13b
fix: add migration for auth tables
...
having now fixed the constraint naming convention
2024-07-14 14:45:52 -05:00
Lance Edgar
639b0de8b1
feat: add basic "auth" data models: user/role/perm
...
not really tested yet though, other than unit tests
2024-07-13 23:29:09 -05:00
Lance Edgar
375d0be638
feat: add basic data model support
...
wuttjamaican will provide a default data model with minimal tables;
it's assumed each custom app will extend this model with other tables
2024-07-11 12:55:55 -05:00
Lance Edgar
f5825e964c
test: add 'nodb' test runner
...
ensure things work as expected if sqlalchemy is not installed
2024-07-04 08:00:42 -05:00
Lance Edgar
c3efbfbf7b
fix: ensure config has no app when constructor finishes
...
had to move `make_engine_from_config()` out of app handler and define
as a separate function, so that `get_engines()` did not need to
instantiate the app handler. because if it did, then config
extensions would lose the ability to set a default app handler - er,
they could do it but it would be ignored
2024-07-04 06:21:38 -05:00
Lance Edgar
b458272207
Add make_engine_from_config()
method for AppHandler
...
and other misc. tweaks needed to get this incorporated into Rattail
2023-11-19 20:36:51 -06:00
Lance Edgar
5c3c42d6b3
First commit, basic config (with db) and app handler
...
this has 100% test coverage and i intend to keep it that way. api
docs have a good start but still need narrative. several more things
must be added before i can seriously consider incorporating into
rattail but this seemed a good save point
2023-10-28 17:50:13 -05:00