Skip to content

Params arg no params #1106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 16, 2020
Merged

Params arg no params #1106

merged 12 commits into from
May 16, 2020

Conversation

slide
Copy link
Contributor

@slide slide commented Apr 8, 2020

What does this implement/fix? Explain your changes.

Check the last parameter to see if it is params (and not supplied). By setting the paramsArray variable, the binding code does the right thing and passes an empty array.

Does this close any currently open issues?

#943

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

slide added 3 commits April 7, 2020 14:42
Add a check to see if the last parameter is a params parameter. Set the correct flag to show that it is a paramsArray function.
@codecov-io
Copy link

codecov-io commented Apr 8, 2020

Codecov Report

Merging #1106 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1106   +/-   ##
=======================================
  Coverage   86.75%   86.75%           
=======================================
  Files           1        1           
  Lines         302      302           
=======================================
  Hits          262      262           
  Misses         40       40           
Flag Coverage Δ
#setup_linux 65.56% <ø> (ø)
#setup_windows 71.52% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 638dc1c...5a76273. Read the comment docs.

@slide
Copy link
Contributor Author

slide commented Apr 9, 2020

Close and reopen to see if the build is intermittent.

@slide slide closed this Apr 9, 2020
@lostmsu lostmsu reopened this Apr 9, 2020
@slide
Copy link
Contributor Author

slide commented Apr 9, 2020

Thanks for reopening, got pulled into a meeting and didn't get a chance to reopen.

@lostmsu
Copy link
Member

lostmsu commented Apr 9, 2020

@slide better this one. Then I can squash.

@lostmsu
Copy link
Member

lostmsu commented Apr 9, 2020

@slide Travis passed. Need to investigate why is it not being picked up.

@dnfclas
Copy link

dnfclas commented Apr 9, 2020

CLA assistant check
All CLA requirements met.

@slide
Copy link
Contributor Author

slide commented Apr 16, 2020

Close and reopen to try and get a Travis build responding.

@slide slide closed this Apr 16, 2020
@slide slide reopened this Apr 16, 2020
@filmor filmor merged commit 49a230b into pythonnet:master May 16, 2020
@filmor
Copy link
Member

filmor commented May 16, 2020

Thank you very much :)

AlexCatarino pushed a commit to QuantConnect/pythonnet that referenced this pull request Jun 29, 2020
Add a check to see if the last parameter is a params parameter. Set the correct flag to show that it is a paramsArray function.

Fixes pythonnet#943 and pythonnet#331.
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.

5 participants