Skip to content

Commit

Permalink
Update trailmap.py (#4301)
Browse files Browse the repository at this point in the history
  • Loading branch information
tehcoderer authored Feb 20, 2023
1 parent 8dff6b1 commit 02b7f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openbb_terminal/sdk_core/trailmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_definition(
trail = ".".join([t for t in location_path if t != ""])
sdk_name = class_attr if not view else f"{class_attr}_chart"

trail = trail.lstrip("root.") # pylint: disable=E1310
trail = trail.replace("root.", "")
sdk_path = f"{f'openbb.{trail}' if trail else 'openbb'}.{sdk_name}"

return f"{sdk_path}({definition })"
Expand Down

0 comments on commit 02b7f44

Please sign in to comment.