fix: Loosen StoreListActor.picture_url to str and add new API error type - #1038
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1038 +/- ##
==========================================
+ Coverage 95.27% 95.29% +0.01%
==========================================
Files 59 59
Lines 5501 5502 +1
==========================================
+ Hits 5241 5243 +2
+ Misses 260 259 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
vdusek
approved these changes
Aug 28, 2026
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.
Regenerates the Pydantic models, TypedDicts, and literal aliases from the published OpenAPI specification (
v2-2026-08-24T085852Z->v2-2026-08-27T071624Z), picking up the spec fixes from apify/apify-docs#2859.StoreListActor.picture_urlis nowstr | Noneinstead ofAnyUrl | None. The API doesn't guarantee an RFC 3986 URI here - legacy Actors can carry an empty or malformedpictureUrl- so such Store items no longer fail validation.ErrorTypegainscannot-publish-actor-task, returned with 400 byPOST /v2/actor-tasksandPUT /v2/actor-tasks/{actorTaskId}.ActorNoticegains aNONE_TYPE_NONE = Nonemember. The spec now listsnullin the enum (the API does returnnotice: null); since the field is typedActorNotice | None,Nonestill validates to plainNone, so this is cosmetic.✍️ Drafted by Claude Code