-
Notifications
You must be signed in to change notification settings - Fork 670
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
(feat): Add distributed config flag and initialise method #1389
Conversation
awswrangler/_distributed.py
Outdated
import ray | ||
|
||
|
||
def _ray_remote(function: Callable[..., Any]) -> Any: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since both _ray_remote
and _initialize_ray
are used in other modules shall we make them public (no underscore)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They won't be exposed to the user so not sure why we should make them public. There are plenty of examples of private methods in the codebase that are reused yet not exposed and left private
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Public relative to the module
Also, just curious - since this is basically taken from here any reason to leave out the context manager? Do we not want to add that option? |
Feature or Bugfix
Detail
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.