-
Notifications
You must be signed in to change notification settings - Fork 4
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-374, NEAT-368 Part 2]👻 Refactor utility module part2 #549
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Now UTILS is neatly organized
@@ -12,7 +12,7 @@ | |||
from cognite.neat.constants import DEFAULT_NAMESPACE | |||
from cognite.neat.graph.extractors._base import BaseExtractor | |||
from cognite.neat.graph.models import Triple | |||
from cognite.neat.utils.utils import create_sha256_hash, string_to_ideal_type | |||
from cognite.neat.utils.auxiliary import create_sha256_hash, string_to_ideal_type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:) finally it is renamed :D , I like the new name of module
@@ -15,8 +15,8 @@ | |||
from cognite.neat.legacy.graph.stores import NeatGraphStoreBase | |||
from cognite.neat.legacy.rules.models import Rules | |||
from cognite.neat.legacy.rules.models.rules import Property | |||
from cognite.neat.utils import remove_namespace_from_uri | |||
from cognite.neat.utils.utils import epoch_now_ms | |||
from cognite.neat.utils.rdf_ import remove_namespace_from_uri |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice to move rdf specific methods to appropriate submodule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason for having _
at the end of the module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid naming conflicts, but might now be necessary.
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
No description provided.