Skip to content

Neo4j Extension and Tutorial #447

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

Conversation

jemeza-codegen
Copy link
Contributor

Motivation

Codegen <> Neo4j

Content

Adds an extension that allows a codebase graph constructed with codgen to be exported to neo4j.

Testing

Tested by running locally.

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

  • I have updated the documentation or added new documentation as needed

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.

@jemeza-codegen jemeza-codegen marked this pull request as ready for review February 12, 2025 21:25
@jemeza-codegen jemeza-codegen requested review from codegen-team and a team as code owners February 12, 2025 21:25
@jemeza-codegen jemeza-codegen merged commit c189cf2 into develop Feb 12, 2025
16 of 17 checks passed
@jemeza-codegen jemeza-codegen deleted the jmeza-cg-10733-demo-neo4j-graph branch February 12, 2025 22:07
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