python-scraperlib icon indicating copy to clipboard operation
python-scraperlib copied to clipboard

Calls to third party code not respecting type hints

Open rgaudin opened this issue 1 year ago • 0 comments

Following #227, scraperlib users are not allowed to send values of unexpected types to our API. We should apply the same strict treatment to our usage of other's APIs.

beartype allows setting this in our code and raising or warning on incorrect calls. Once we fix the codebase, we would keep it and it would serve as automated test for this.

rgaudin avatar Dec 17 '24 14:12 rgaudin