Commit Graph

10 Commits

Author SHA1 Message Date
Lubos Kocman
d53f57f230 database module: fixed session is not callable and fixed filter_by -> filter (previously raised error) 2016-07-15 15:06:32 +02:00
Ralph Bean
0859641cb8 A useful utility classmethod. 2016-07-13 16:55:41 -04:00
Ralph Bean
14a4536583 Reorganize the db somewhat.. 2016-07-13 15:40:39 -04:00
Ralph Bean
12a9f6d7db Give the Database a context manager interface. 2016-07-13 14:39:00 -04:00
Ralph Bean
bd30153feb Move ridad into an importable location and validate module state strings. 2016-07-13 14:03:17 -04:00
Petr Šabata
57fd6b9e9b Merge #5 Create database with python. 2016-06-30 16:40:28 +00:00
Ralph Bean
a0c3d035a5 Create database with python. 2016-06-30 12:34:18 -04:00
Ralph Bean
c691973601 Basics of messaging. 2016-06-30 12:30:01 -04:00
Petr Šabata
d54d1dcabb Rename the Session class to Database
This feels way more natural; you don't have sessions with session properties
anymore.

Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-30 10:40:47 +02:00
Petr Šabata
fdfb1ed830 Implement the query bits of the API
Signed-off-by: Petr Šabata <contyk@redhat.com>
2016-06-28 18:31:58 +02:00