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

fix(weave): global df in op fails during op saving #2755

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

Conversation

gtarpenning
Copy link
Member

Description

  • Fixes WB-NNNNN
  • Fixes #NNNN

Slack thread

Testing

How was this PR tested?

@gtarpenning gtarpenning requested a review from a team as a code owner October 22, 2024 20:17
@circle-job-mirror
Copy link

circle-job-mirror bot commented Oct 22, 2024

except Exception as e:
print(f"Error getting code deps for {fn}: {e}")
return {
"import_code": [],
Copy link
Collaborator

Choose a reason for hiding this comment

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

While you are in the area, would you fix the docstring for the return value of this method.

@@ -4,6 +4,7 @@
import platform
import sys

import pandas as pd
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you will need to add an explicit dependency in noxfile.py for this?

df.loc[df.index[0], "a"] = a
return prev_val

res = my_op("d")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Got something odd going on here with type annotations - my_op says it takes and returns ints.

Copy link
Member Author

Choose a reason for hiding this comment

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

oops

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.

2 participants