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

REFACTOR-#5874: move lazy_metadata_decorator into utils.py #5872

Merged
merged 2 commits into from
Mar 31, 2023

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Mar 28, 2023

What do these changes do?

dataframe.py file is very large and the decorator is very easy to move.

  • first commit message and PR title follow format outlined here

    NOTE: If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves REFACTOR: move lazy_metadata_decorator into utils.py #5874
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

Comment on lines +41 to +44
from modin.core.dataframe.pandas.dataframe.utils import (
build_sort_functions,
lazy_metadata_decorator,
)

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.core.dataframe.pandas.dataframe.utils](1) begins an import cycle.

@wraps(f)
def run_f_on_minimally_updated_metadata(self, *args, **kwargs):
from .dataframe import PandasDataframe

Check notice

Code scanning / CodeQL

Cyclic import

Import of module [modin.core.dataframe.pandas.dataframe.dataframe](1) begins an import cycle.
@anmyachev anmyachev changed the title REFACTOR-#0000: move lazy_metadata_decorator into utils.py REFACTOR-#5874: move lazy_metadata_decorator into utils.py Mar 28, 2023
@anmyachev anmyachev marked this pull request as ready for review March 28, 2023 11:47
@anmyachev anmyachev requested a review from a team as a code owner March 28, 2023 11:47
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@anmyachev anmyachev force-pushed the move-lazy_metadata_decorator branch from a25eab0 to 342eae3 Compare March 29, 2023 22:09
mvashishtha
mvashishtha previously approved these changes Mar 29, 2023
@YarShev YarShev merged commit eccae2b into modin-project:master Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REFACTOR: move lazy_metadata_decorator into utils.py
3 participants