Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

.wait returnself so it can be used with method-chaining#379

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
eriknw merged 4 commits intopython-graphblas:mainfromeriknw:chain_wait
Feb 8, 2023

Conversation

@eriknw
Copy link
Member

@eriknweriknw commentedFeb 2, 2023
edited
Loading

I've wanted method chaining like this forwait a few times in the past few months.

@coveralls
Copy link

coveralls commentedFeb 2, 2023
edited
Loading

Coverage Status

Coverage: 99.48% (+0.0001%) from 99.48% when pulling92da690 on eriknw:chain_wait intoed6f3ba on python-graphblas:main.

@eriknw
Copy link
MemberAuthor

This raises the question whether we should do the same forbuild,clear, and/orresize.

@eriknw
Copy link
MemberAuthor

Nevermind, expressions shouldn't (and don't) havebuild/clear/resize, so these shouldn't returnself.expr.wait() doesn't actually modify the object, so havingval = expr.wait() can be a nice shorthand forval = expr.new().wait().

@eriknweriknw merged commit1bbce69 intopython-graphblas:mainFeb 8, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@SultanOrazbayevSultanOrazbayevAwaiting requested review from SultanOrazbayev

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@eriknw@coveralls

[8]ページ先頭

©2009-2025 Movatter.jp