Skip to content
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

WIP: fix calling conventions #1464

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

WIP: fix calling conventions #1464

wants to merge 2 commits into from

Conversation

pgunn
Copy link
Member

@pgunn pgunn commented Feb 7, 2025

In pursuit of #1462, this series of diffs will reform the calling conventions in Caiman to not have methods return self, and to have calling/sample code in our codebase not rely on that.

This will hopefully make it more clear that when a method returns an object, it's a distinct object, and make our code more conventional. There's a lot of code to change; I don't know if I'll get everything in a single PR.

This will be a breaking change. There's also a chance that this may be a bad idea and we'll back off on this change, either just for now or permanently.

(this PR will change its title before it will be ready to merge)

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