-
Notifications
You must be signed in to change notification settings - Fork 34
Feature/calculate semantic layer after population #89
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
hsauve-scottlogic
merged 13 commits into
release/improve-reliability
from
feature/calculate-semantic-layer-after-population
Sep 6, 2024
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
66a60f9
await semantic layer builder
hsauve-scottlogic 171a259
Create cache to store graph schema
hsauve-scottlogic 33c02e9
Make cache global to prevent UnboundLocalError
hsauve-scottlogic ed3065d
Bring in latest code from Michael Down
hsauve-scottlogic 80a1fd2
Refact with sanitise function
hsauve-scottlogic 5cacc3e
Write tests and refactor
hsauve-scottlogic 8bc9819
Delete unused file
hsauve-scottlogic 7418409
Merge branch 'release/improve-reliability' into feature/calculate-sem…
hsauve-scottlogic 75c95f2
Fix linting issue
hsauve-scottlogic d2d15fb
Change return value to json
hsauve-scottlogic 9693524
Edit tests to adjust to changes + web agent validation to false
hsauve-scottlogic 87581bd
Remove sanitise function + move nested function out of main function
hsauve-scottlogic 3dea876
Separate logic by creating methods
hsauve-scottlogic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1 @@ | ||
| CALL apoc.meta.stats() YIELD relTypes | ||
| WITH relTypes, keys(relTypes) AS relTypeKeys | ||
| UNWIND relTypeKeys AS relTypeKey | ||
| WITH relTypeKey, relTypes[relTypeKey] AS count | ||
| WHERE relTypeKey CONTAINS ")->(:" | ||
| OR relTypeKey CONTAINS "(:" | ||
| WITH collect({ | ||
| label: split(split(relTypeKey, "-")[1], ">")[0], | ||
| cypher_representation: relTypeKey, | ||
| detail: "" | ||
| }) AS paths | ||
| RETURN paths | ||
| call db.schema.visualization |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.