Files
rfd-notify/rfd_notify/models/offer.py
Dave Gallant 9ba64a3de5 Migrate to python (#265)
* Add initial python migration

* Add pylint

* Add pre-commit

* Add Dockerfile

* Add expression matching

* Use shelve to store previous matches

* Add notifications

* Calculate post age

* Update README.md
2023-02-20 23:23:29 -05:00

9 lines
226 B
Python

class Offer:
# pylint: disable=unused-argument
def __init__(self, dealer_name, url, **kwargs):
self.dealer_name = dealer_name
self.url = url
def __repr__(self):
return f"Offer({self.url})"