feat(feeds): expose FileFeedFieldNames and UrlFeedFieldNames on feeds get#415
Merged
Conversation
… get Add `--file-feed-field-names` and `--url-feed-field-names` to `direct feeds get` for the separate WSDL `FileFeedFieldNames` (`FileFeedFieldEnum`: `Filename`) and `UrlFeedFieldNames` (`UrlFeedFieldEnum`: `Login`, `Url`, `RemoveUtmTags`) request parameters declared by `FeedsGetRequest`. Mirrors the Wave 1 sitelinks pattern (#403): each flag parses CSV via `parse_csv_strings`, rejects empty input with `click.UsageError`, and only injects the WSDL key into the payload when non-empty so Yandex falls back to its server-side default otherwise. Removes the corresponding rows from `NESTED_FIELDNAMES_EXCLUSIONS` so `test_every_nested_fieldnames_param_has_cli_option` now enforces both flags. Adds dry-run tests for payload, default-omission, `--help` visibility, and empty-CSV rejection per flag. Closes #412. Co-Authored-By: Claude Opus 4.7 <[email protected]>
4 tasks
Owner
Author
|
@claude review. Focus on critical issues: bugs, security vulnerabilities, logical errors, data loss risks, performance problems. Do NOT nitpick style, naming conventions, minor formatting, or subjective preferences — only flag issues that could break functionality or cause real harm in production. |
|
Claude finished @axisrow's task in 1m 52s —— View job Claude PR Review — Done
VerdictNo blocking issues found. This is a clean, narrow change that faithfully mirrors the already-merged Wave 1 sitelinks pattern ( Critical-issue checks (per trigger filter)
Observations (non-blocking, not requested)
|
axisrow
added a commit
that referenced
this pull request
May 28, 2026
Resolve conflicts with #415 (feeds): keep both feeds.get and keywords.get *FieldNames additions in CHANGELOG, NESTED_FIELDNAMES_EXCLUSIONS, and dry-run tests.
axisrow
added a commit
that referenced
this pull request
May 28, 2026
axisrow
added a commit
that referenced
this pull request
May 28, 2026
axisrow
added a commit
that referenced
this pull request
May 28, 2026
Resolve conflicts with #415 #416 #417 #418 #419 #420: keep all six previously-merged CHANGELOG entries (feeds/keywords/creatives/clients/ agencyclients/adgroups) and place the campaigns BREAKING CHANGES block at the end of Unreleased. Drop the already-removed NESTED_FIELDNAMES_EXCLUSIONS rows. Update the surviving legacy `-fields` test fixtures to the new `-field-names` form, while keeping one explicit rejection test for `--text-campaign-fields` (the old name).
axisrow
added a commit
that referenced
this pull request
May 28, 2026
Resolve conflicts with #415 #416 #417 #418 #419 #420 #421: keep all six previously-merged CHANGELOG entries (feeds/keywords/creatives/clients/ agencyclients/adgroups), the campaigns BREAKING CHANGES block, and add the bidmodifiers entry as a separate 'Additional features' block. Drop already-removed NESTED_FIELDNAMES_EXCLUSIONS rows. Append bidmodifiers tests after the canonical campaigns block in test_dry_run.py.
This was referenced May 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.
Summary
--file-feed-field-namesand--url-feed-field-namestodirect feeds getfor the separate WSDLFileFeedFieldNames(FileFeedFieldEnum:Filename) andUrlFeedFieldNames(UrlFeedFieldEnum:Login,Url,RemoveUtmTags) request parameters declared byFeedsGetRequest.parse_csv_strings, reject empty input withclick.UsageError, only inject the WSDL key when non-empty (Yandex falls back to server-side defaults otherwise).NESTED_FIELDNAMES_EXCLUSIONS(tests/test_api_coverage.py) sotest_every_nested_fieldnames_param_has_cli_optionnow enforces both flags unconditionally.Closes #412. First PR in Wave 2 milestone 0.3.14 (proof-of-pattern for the remaining 9 sub-issues #405–#411, #413, #414).
Test plan
pytest tests/test_api_coverage.py::test_every_nested_fieldnames_param_has_cli_option— passes (regression unblocks both rows).pytest tests/test_dry_run.py -k feeds_get— 5 new tests pass: payload, default-omission,--helpvisibility, two empty-CSV rejections.pytest tests/test_api_coverage.py tests/test_cli.py tests/test_comprehensive.py— 247 tests pass.direct feeds get --help | grep field-names— both new flags visible.🤖 Generated with Claude Code