Add sampling to USPTO to control Zip file and container sampling, defaults to lambda n: ("True", "True").
When the first variable of the callable returns True the Zip file will get processed, when it returns False the container will get skipped. Similarly, when the second variable of the callable returns True the container will get processed, when it returns False the container will get skipped.
Zip file sampling is handled in uspto.py, while container sampling is handled in uspto_zip_cache.py
Add changes to caching tests to comply with CI regulations.
Add sampling to USPTO to control Zip file and container sampling, defaults to
lambda n: ("True", "True")
.When the first variable of the callable returns
True
the Zip file will get processed, when it returnsFalse
the container will get skipped. Similarly, when the second variable of the callable returnsTrue
the container will get processed, when it returnsFalse
the container will get skipped.Zip file sampling is handled in uspto.py, while container sampling is handled in uspto_zip_cache.py
Add changes to caching tests to comply with CI regulations.