betamaxpy / betamax

A VCR imitation designed only for python-requests.
https://betamax.readthedocs.io/en/latest/
Other
565 stars 62 forks source link

Wrong example in BaseSerializer documentation #135

Closed tiran closed 7 years ago

tiran commented 7 years ago

https://betamax.readthedocs.io/en/latest/serializers.html#betamax.BaseSerializer

class MySerializer(BaseSerializer):
    ...
    def deserialize(self):
        # Uses a cassette file to return a dictionary with the
        # cassette information

It should be def deserialize(self, cassette_data):.

sigmavirus24 commented 7 years ago

I'd happily merge a PR that corrects this.