Skip to content

[SPARK-47933][PYTHON][CONNECT][FOLLOW-UP] Add a check of __name__ at _with_origin#46198

Closed
HyukjinKwon wants to merge 1 commit intoapache:masterfrom
HyukjinKwon:SPARK-47933-followup2
Closed

[SPARK-47933][PYTHON][CONNECT][FOLLOW-UP] Add a check of __name__ at _with_origin#46198
HyukjinKwon wants to merge 1 commit intoapache:masterfrom
HyukjinKwon:SPARK-47933-followup2

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR is a followup of #46155 that adds check of __name__ at _with_origin.

Why are the changes needed?

It is possible for a callable instance without name attribute or/and module attribute to be wrapped. For example, functools.partial.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

./bin/pyspark

Was this patch authored or co-authored using generative AI tooling?

No.

@HyukjinKwon
Copy link
Member Author

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants