Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/tests(parsers, DO): adopt use_proxy decorator that makes things work again, and add snapshot test #7741

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

consideRatio
Copy link
Contributor

@consideRatio consideRatio commented Jan 14, 2025

Issue

Description

Double check

  • I have tested my parser changes locally with poetry run test_parser "zone_key"
  • I have run pnpx prettier@2 --write . and poetry run format in the top level directory to format my changes.

consideRatio and others added 4 commits January 14, 2025 22:31
Changes:

- Makes calling `fetch_production()` without args or kwargs not run into
  issues stemming from `zone_key` being explicitly passed as None.
- Adds a comment on what webshare.io subscription is useful for use by
  this project.
- Re-configures session.proxies back to what it was in a way that I
  think now will work, while previously I think we just stored a
  reference to the proxies object that we then also modified.

  This likely won't impact anyone.
- Adjusted the code for readability, which is an opinionated matter of
  course.
@github-actions github-actions bot added parser python Pull requests that update Python code tests zone config Pull request or issue for zone configurations labels Jan 14, 2025
@consideRatio consideRatio changed the title fix(parsers, DO): adopt use_proxy decorator that makes things work again fix/tests(parsers, DO): adopt use_proxy decorator that makes things work again, and add snapshot test Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser python Pull requests that update Python code tests zone config Pull request or issue for zone configurations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant