Skip to content

Fix parse_types with metadata=True - #170

Merged
RazerM merged 1 commit into
mainfrom
feature/parse-types-metadata
Aug 23, 2026
Merged

Fix parse_types with metadata=True#170
RazerM merged 1 commit into
mainfrom
feature/parse-types-metadata

Conversation

@RazerM

@RazerM RazerM commented Aug 22, 2026

Copy link
Copy Markdown
Member

With metadata=true, Space-Track wraps the rows in a dict alongside the
request metadata, and _parse_types crashed iterating the dict's keys
after the request had already succeeded. Unwrap the rows and leave the
response shape unchanged.

@RazerM RazerM changed the title Fix parse_types for metadata responses Fix parse_types with metadata=True Aug 22, 2026
@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.35%. Comparing base (168de31) to head (ea421f8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   96.33%   96.35%   +0.01%     
==========================================
  Files           7        7              
  Lines        1147     1152       +5     
  Branches      129      129              
==========================================
+ Hits         1105     1110       +5     
  Misses         25       25              
  Partials       17       17              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@RazerM
RazerM force-pushed the feature/parse-types-metadata branch 2 times, most recently from ee7af28 to c12a639 Compare August 23, 2026 13:09
With metadata=true, Space-Track wraps the rows in a dict alongside the
request metadata, and _parse_types crashed iterating the dict's keys
after the request had already succeeded. Unwrap the rows and leave the
response shape unchanged.
@RazerM
RazerM force-pushed the feature/parse-types-metadata branch from c12a639 to ea421f8 Compare August 23, 2026 13:45
@RazerM
RazerM merged commit 6d051d6 into main Aug 23, 2026
11 checks passed
@RazerM
RazerM deleted the feature/parse-types-metadata branch August 23, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant