clean_column_name(name: 'Hashable') -> 'Hashable'
The purpose for this function is to see what happens to the name of identifier if it goes to the process of being parsed a Python code inside a backtick quoted string and than being cleaned (removed of any special characters).
For some cases, a name cannot be converted to a valid Python identifier. In that case
tokenize_string
raises a SyntaxError. In that case, we just return the name unmodified.If this name was used in the query string (this makes the query call impossible) an error will be raised by
tokenize_backtick_quoted_string
instead, which is not caught and propagates to the user level.
Name to be cleaned.
Returns the name after tokenizing and cleaning.
Function to emulate the cleaning of a backtick quoted name.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them