#535 datetime compatibility for plugins
Merged by mikem. Opened by mikem.
mikem/koji datetime-compat-plugins  into  master

Download 535.patch

Some plugins might not like the datetime objects that we now have internally on the hub (thanks to psycopg2). This provides the option to automatically convert them to strings (as they were before 1.12).

We use this option for the included protonmsg and messagebus plugins.

2 new commits added

  • unit test for encode_datetime
  • add unit test for convert_datetime decorator

1 new commit added

  • implement caching in _fix_cb_args

rebased

Commit 4a05467c fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

Metadata