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 ConfigManager._init_config #527

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

andrii-i
Copy link
Collaborator

@andrii-i andrii-i commented Dec 19, 2023

Problem

ConfigManager._init_config method encompasses multiple functionalities and complex logic, takes up ~54 lines. Large size, multiple responsibilities, and complexity makes it difficult to understand and maintain.

Proposed Solution

Refactor _init_config to use separate, smaller functions.

@andrii-i andrii-i added enhancement New feature or request maintenance Change related to maintenance of the repository labels Dec 19, 2023
Copy link
Member

@dlqqq dlqqq left a comment

Choose a reason for hiding this comment

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

Thanks! 👍

@andrii-i andrii-i enabled auto-merge (squash) December 20, 2023 18:09
@andrii-i andrii-i merged commit 0a37a23 into jupyterlab:main Dec 20, 2023
7 checks passed
@andrii-i andrii-i deleted the refactor-init-config branch December 20, 2023 18:47
@andrii-i
Copy link
Collaborator Author

@meeseeksdev please backport to 1.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyter-ai that referenced this pull request Dec 20, 2023
andrii-i added a commit that referenced this pull request Dec 20, 2023
dbelgrod pushed a commit to dbelgrod/jupyter-ai that referenced this pull request Jun 10, 2024
Marchlak pushed a commit to Marchlak/jupyter-ai that referenced this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance Change related to maintenance of the repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants