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

(feat): Add distributed config flag and initialise method #1389

Merged
merged 5 commits into from
Jun 16, 2022

Conversation

jaidisido
Copy link
Contributor

Feature or Bugfix

  • Feature

Detail

  • Add distributed key to Config class and other Ray options
  • Add distributed module with initialise method

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jaidisido jaidisido self-assigned this Jun 13, 2022
@jaidisido jaidisido added this to the 3.0.0 milestone Jun 13, 2022
awswrangler/_config.py Outdated Show resolved Hide resolved
import ray


def _ray_remote(function: Callable[..., Any]) -> Any:
Copy link
Contributor

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)?

Copy link
Contributor Author

@jaidisido jaidisido Jun 13, 2022

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

Copy link
Contributor

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

@kukushking
Copy link
Contributor

kukushking commented Jun 13, 2022

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?

@jaidisido jaidisido merged commit b0402e9 into release-3.0.0 Jun 16, 2022
@jaidisido jaidisido deleted the feat-3.0-distributed-utils branch June 16, 2022 13:29
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.

None yet

2 participants