Skip to content

Releases: pennsignals/dsdk

0.3.7

18 Dec 15:04
Compare
Choose a tag to compare

Add batch_cls as a property of a service, and as a parameter to the constructor.

Allow users to subclass service and substitute the class used for the batch by changing the default parameter:

class MockBatch(Batch):

    def __init__(self, ...):
        # add new properties here
        super().__init__(...)

class MockService(..., Service):

    def __init__(self, **kwargs):
        super().__init__(batch_cls=MockBatch, **kwargs)

... alternatively pass a pseudo constructor function that returns a configured Mock:

def mock_batch():
    """Likely this is a test fixture.
    batch = Batch(...)
    # monkey patch up batch here...
    return batch

class MockService(..., Service):

    def __init__(self, **kwargs):
        super().__init__(batch_cls=mock_batch, **kwargs)

0.3.6

14 Dec 16:51
Compare
Choose a tag to compare

Fix break during error message dump of mogrified sql.

  • Assumes that the connection encoding is utf-8
  • Does not yet escape double quotes embedded in sql that will break the json payload.

Add evidence during mongo.store_evidence call.

0.3.5

10 Dec 20:20
09756f1
Compare
Choose a tag to compare

0.3.5-rc.4

09 Dec 17:08
Compare
Choose a tag to compare
0.3.5-rc.4 Pre-release
Pre-release

Tag the correct branch maybe....

0.3.5-rc.2

09 Dec 16:39
Compare
Choose a tag to compare
0.3.5-rc.2 Pre-release
Pre-release
Add exclude to postgres

0.3.5-rc.1

09 Dec 15:55
Compare
Choose a tag to compare
0.3.5-rc.1 Pre-release
Pre-release
Update test instructions

0.3.5-rc.3

09 Dec 16:50
aaa5b29
Compare
Choose a tag to compare
0.3.5-rc.3 Pre-release
Pre-release

Fix unhashable set.

0.3.4

25 Nov 17:31
aaa5b29
Compare
Choose a tag to compare

Fix workflow badges.

0.3.3

25 Nov 17:17
fd2c2fa
Compare
Choose a tag to compare

Fix release badge

0.3.2

17 Nov 16:07
Compare
Choose a tag to compare
Fix env variable