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

[NEAT-325] 🏰 Asset Hierarchy Migration Tutorial #511

Merged
merged 15 commits into from
Jul 1, 2024

Conversation

doctrino
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Jun 27, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
22409 15643 70% 60% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cognite/neat/_version.py 100% 🟢
cognite/neat/graph/extractors/_classic_cdf/_files.py 80% 🟢
cognite/neat/graph/queries/_base.py 57% 🟢
cognite/neat/rules/importers/_inference2rules.py 91% 🟢
cognite/neat/utils/auth.py 27% 🟢
TOTAL 71% 🟢

updated for commit: 6067d10 by action🐍

@@ -97,3 +97,27 @@ def construct_instances_of_class(self, class_: str, properties_optional: bool =
else:
warnings.warn("No rules found for the graph store, returning empty list.", stacklevel=2)
return []

def list_triples(self, limit: int = 25) -> list[ResultRow]:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These are two methods to help debug.

Comment on lines +249 to +250
prefix="neat",
namespace=DEFAULT_NAMESPACE,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I had to do these two to make it work. Lets discuss that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

image

@doctrino doctrino marked this pull request as ready for review June 29, 2024 06:08
@doctrino doctrino requested a review from a team as a code owner June 29, 2024 06:08
@doctrino doctrino merged commit f54f10b into main Jul 1, 2024
7 checks passed
@doctrino doctrino deleted the asset-migration-notebook branch July 1, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants