-
Notifications
You must be signed in to change notification settings - Fork 5
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-739] 🙂 Handle bad names #964
Conversation
@@ -327,6 +328,7 @@ def parse_table_lookup(raw: str) -> TableLookup: | |||
|
|||
|
|||
def parse_rule(rule_raw: str, rule_type: TransformationRuleType | None) -> RDFPath: | |||
rule_raw = urllib.parse.unquote(rule_raw) |
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.
Up for discussion how to deal with this. The old RDFPath is more restrictive than a URI, which I think might be a problem.
Should we reduce the RDFPath to the bare minimum, no hops allowed before v1 and instead reintrodure the more advanced concepts with an alpha flag?
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.
Fully agree, everything that is doing hops, etc. should be neat.prepare.instances....
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
@@ -327,6 +328,7 @@ def parse_table_lookup(raw: str) -> TableLookup: | |||
|
|||
|
|||
def parse_rule(rule_raw: str, rule_type: TransformationRuleType | None) -> RDFPath: | |||
rule_raw = urllib.parse.unquote(rule_raw) |
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.
Fully agree, everything that is doing hops, etc. should be neat.prepare.instances....
5eeca19
to
42c35ec
Compare
fa3e836
to
d3301a6
Compare
d3301a6
to
74750af
Compare
# Conflicts: # cognite/neat/_utils/text.py
No description provided.