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

chore(weave): Remove old decorator overloads #2599

Merged
merged 7 commits into from
Oct 5, 2024
Merged

Conversation

andrewtruong
Copy link
Collaborator

@andrewtruong andrewtruong commented Oct 3, 2024

Removes old decorator overloads and makes a much nicer op decorator!

@andrewtruong andrewtruong marked this pull request as ready for review October 3, 2024 21:28
@andrewtruong andrewtruong requested a review from a team as a code owner October 3, 2024 21:28
Copy link
Member

@gtarpenning gtarpenning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets let this soak for a bit before deploying the sdk, hot path and all.

@@ -1395,6 +1395,7 @@ def op_fn(*args, **kwargs): # type: ignore

op_fn.__name__ = name
op = op_deco(op_fn)
op = as_op(op)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this do?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's casting to the Op type

@andrewtruong andrewtruong merged commit 782516c into master Oct 5, 2024
79 checks passed
@andrewtruong andrewtruong deleted the andrew/decofix branch October 5, 2024 00:18
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants