Skip to content

Fix positional arguments to request class methods - #171

Merged
RazerM merged 1 commit into
mainfrom
feature/positional-class
Aug 23, 2026
Merged

RazerM merged 1 commit into
mainfrom
feature/positional-class

Conversation

@RazerM

@RazerM RazerM commented Aug 22, 2026

Copy link
Copy Markdown
Member

The forged methods bound class_ as a keyword in functools.partial, so
the documented equivalence st.gp_history(*args, **kw) ->
st.generic_request('gp_history', *args, **kw) raised TypeError for any
positional argument, which landed in the class_ slot.

@RazerM RazerM changed the title Bind class_ positionally in request class methods Fix positional arguments to request class methods 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 (1610a6d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
+ Coverage   96.33%   96.35%   +0.01%     
==========================================
  Files           7        7              
  Lines        1147     1151       +4     
  Branches      129      129              
==========================================
+ Hits         1105     1109       +4     
  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/positional-class branch from 4b4f453 to c708ec7 Compare August 22, 2026 21:27
The forged methods bound class_ as a keyword in functools.partial, so
the documented equivalence st.gp_history(*args, **kw) ->
st.generic_request('gp_history', *args, **kw) raised TypeError for any
positional argument, which landed in the class_ slot.
@RazerM
RazerM force-pushed the feature/positional-class branch from c708ec7 to 1610a6d Compare August 23, 2026 13:09
@RazerM
RazerM merged commit 45a49b4 into main Aug 23, 2026
11 checks passed
@RazerM
RazerM deleted the feature/positional-class branch August 23, 2026 18:59
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