Release v1.2.0: storage + monitors, widened CI, auto-publish - #7
Merged
Conversation
The integration jobs only run two files. New features add tests under tests/api_contracts/as_is, so add a job that runs the contract, unit, and docs layers too.
Register MonitorMenu in the sync proxy _CLASS_MAP so client.monitors works instead of recursing. Model the real DELETE response ({message, monitor_id}) with MonitorDeleteResponse/MonitorDeleteResult instead of MonitorResponse, which always failed validation.
The Country type allows any ISO code, but the scrape API only proxies through a fixed set of node countries. The fixture derived valids from the full ISO list, so it sent unsupported codes (e.g. AW) that the API rejects. Use the actual supported set.
…bump Combines the storage and monitors features with the widened test suite. Fixes the batch country fixture (API-supported node countries), bumps version to 1.2.0 (config.py was stale at 1.0.4), and switches PyPI publish to run on a version bump merged to main.
Add monitors+searches to the expected-endpoints test, add storage parameter coverage tests, fix the bad-SSL exception print, and update SSL/garbage/auth-precedence tests to current API behavior (TLS 502, 400 on bad URL, auth checked first for invalid keys).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Brings the Python SDK to a releasable 1.2.0:
delete()response-model bugs fixed.countrycontract for both scrape and batch (API-supported node countries).Supersedes #4, #5, #6.
Effect
Merging publishes
olostep 1.2.0to PyPI (once the version isn't already there) and tagsv1.2.0. Requires a validPYPI_API_TOKEN.