Skip to content

refactor: break up config models #448

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

Merged
merged 2 commits into from
Feb 12, 2025
Merged

refactor: break up config models #448

merged 2 commits into from
Feb 12, 2025

Conversation

caroljung-cg
Copy link
Contributor

Motivation

Content

Testing

Please check the following before marking your PR as ready for review

  • I have added tests for my changes
  • I have updated the documentation or added new documentation as needed

@caroljung-cg caroljung-cg requested review from codegen-team and a team as code owners February 12, 2025 20:48
@caroljung-cg caroljung-cg enabled auto-merge (squash) February 12, 2025 20:48
Copy link

codecov bot commented Feb 12, 2025

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
31 3 28 0
View the top 3 failed test(s) by shortest run time
::tests.unit.codegen.sdk.core.test_directory
Stack Traces | 0s run time
ImportError while importing test module '.../sdk/core/test_directory.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../sdk/core/test_directory.py:8: in <module>
    from codegen.sdk.codebase.codebase_graph import CodebaseGraph
E   ModuleNotFoundError: No module named 'codegen.sdk.codebase.codebase_graph'
::tests.unit.codegen.shared.configs.test_constants
Stack Traces | 0s run time
ImportError while importing test module '.../shared/configs/test_constants.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../shared/configs/test_constants.py:3: in <module>
    from codegen.shared.configs.constants import (
E   ImportError: cannot import name 'ENV_FILENAME' from 'codegen.shared.configs.constants' (.../shared/configs/constants.py)
::tests.unit.codegen.shared.configs.test_models
Stack Traces | 0s run time
ImportError while importing test module '.../shared/configs/test_models.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../shared/configs/test_models.py:8: in <module>
    from codegen.shared.configs.models.feature_flags import CodebaseFeatureFlags, Config, FeatureFlagsConfig, RepositoryConfig
E   ImportError: cannot import name 'Config' from 'codegen.shared.configs.models.feature_flags' (.../configs/models/feature_flags.py)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@caroljung-cg caroljung-cg merged commit d48a8e9 into develop Feb 12, 2025
25 of 26 checks passed
@caroljung-cg caroljung-cg deleted the rename-configs branch February 12, 2025 21:05
Copy link
Contributor

🎉 This PR is included in version 0.11.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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