Commit Graph

10 Commits (master)

Author SHA1 Message Date
Chris Veilleux 26ed641b48 applied the "Black" formatter to all files and added pre-commit hook to check 2022-03-11 13:22:33 -06:00
Steve Penrod 9dc4d62490 Adding the basics to prepare for publishing this repo
Changes include:

* Adding AGPL 3.0 license template (TODO: Apply to all 200+ *.py files)
* Adding AGPL license files
* Add generic public repo files (CONTRIBUTING, etc)
* Simple README updates
* Adding other generic files, e.g. .github templates
2019-07-27 18:44:23 -05:00
Chris Veilleux 2ee471a6e1 add api metrics table and collection. in the process, changed the database connection mechanism to only get a connection from the pool once per request. 2019-04-22 16:58:28 -05:00
Matheus Lima e23d9ab840 Created endpoint to upload skills manifest 2019-03-27 11:23:59 -03:00
Chris Veilleux 86883f31aa added non-pool connection to API 2019-02-25 01:48:35 -06:00
Chris Veilleux 75d576f84d define a decorator for executing all sql within a class method in a transaction. commits will occur on success, rollbacks on failure. 2019-02-08 16:12:12 -06:00
Chris Veilleux 5f7974520f changed to allow for sql to be changed before passing to db utility functions 2019-02-06 22:45:42 -06:00
Chris Veilleux a7e091b7fe enhanced and refactored to add crud abilities 2019-02-01 00:17:04 -06:00
Chris Veilleux 48e3509277 add package api to __init__.py 2019-01-30 22:24:14 -06:00
Chris Veilleux cd3b67b127 initial attempt at implementing database connection pooling. side effect of changes was converting selene.util.db to a package to split out the different database functions in to their own modules 2019-01-30 18:57:31 -06:00