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 333 query build asset centric construct query #516

Merged
merged 16 commits into from
Jun 27, 2024

Conversation

nikokaoja
Copy link
Collaborator

@nikokaoja nikokaoja commented Jun 26, 2024

[0.82.4] - 26-06-24

Added

  • Conversion between information, asset and dms rules
  • Added serializer for transformations (i.e. RDFPATH)
  • Placeholder for AssetLoader

@nikokaoja nikokaoja marked this pull request as ready for review June 26, 2024 10:24
@nikokaoja nikokaoja requested a review from a team as a code owner June 26, 2024 10:24
Copy link

github-actions bot commented Jun 26, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
22174 15579 70% 60% 🟢

New Files

File Coverage Status
cognite/neat/graph/loaders/_rdf2asset.py 0% 🟢
TOTAL 0% 🟢

Modified Files

File Coverage Status
cognite/neat/_version.py 100% 🟢
cognite/neat/graph/loaders/_rdf2dms.py 74% 🟢
cognite/neat/graph/stores/_base.py 68% 🟢
cognite/neat/rules/importers/_base.py 95% 🟢
cognite/neat/rules/models/_rdfpath.py 66% 🟢
cognite/neat/rules/models/asset/_rules.py 71% 🟢
cognite/neat/rules/models/information/_converter.py 92% 🟢
cognite/neat/rules/models/information/_rules.py 87% 🟢
TOTAL 82% 🟢

updated for commit: 1039364 by action🐍

Copy link
Collaborator

@doctrino doctrino left a comment

Choose a reason for hiding this comment

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

Like the nice conversion. I am a bit confused by the AssetRules in the NeatStore.

@@ -64,11 +64,11 @@ def __init__(

self.queries = Queries(self.graph, self.rules)

def add_rules(self, rules: InformationRules) -> None:
def add_rules(self, rules: InformationRules | AssetRules) -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure if I agree with this one. Do we allow implementation rules in the Store?

@nikokaoja nikokaoja merged commit b1af390 into main Jun 27, 2024
7 checks passed
@nikokaoja nikokaoja deleted the NEAT-333-Query-Build-Asset-centric-CONSTRUCT-query branch June 27, 2024 10:04
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