Subject | Re: [firebird-python] Events |
---|---|
Author | Hajime Nakagami |
Post date | 2012-05-25T01:24:12Z |
Hi all
I have merged first event support codes to pyfirebridsql's master branch.
https://github.com/nakagami/pyfirebirdsql
Now it can recieve event notification.
But It can't return correct count(flag ?)
$ cd pyfirebirdsql/tests
$ python tests_event.py
('dsn=', 'localhost/3050:/Users/nakagami/pyfirebirdsql/tests/test.fdb')
HANDLER: An event notification has arrived:
(2, {'event_b': 2, 'event_a': 3, 'event_d': 1})
I hope it return
{'event_b': 1, 'event_a': 1, 'event_d': 0} (like kinterbasdb)
or
{'event_b': 1, 'event_a': 2, 'event_d': 0}
But I don't know that how to count event occured.
Someone send pull request or patch to project, please
Best regards
I have merged first event support codes to pyfirebridsql's master branch.
https://github.com/nakagami/pyfirebirdsql
Now it can recieve event notification.
But It can't return correct count(flag ?)
$ cd pyfirebirdsql/tests
$ python tests_event.py
('dsn=', 'localhost/3050:/Users/nakagami/pyfirebirdsql/tests/test.fdb')
HANDLER: An event notification has arrived:
(2, {'event_b': 2, 'event_a': 3, 'event_d': 1})
I hope it return
{'event_b': 1, 'event_a': 1, 'event_d': 0} (like kinterbasdb)
or
{'event_b': 1, 'event_a': 2, 'event_d': 0}
But I don't know that how to count event occured.
Someone send pull request or patch to project, please
Best regards