mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 09:22:26 +00:00
Update trailmap.py (#4301)
This commit is contained in:
@@ -115,7 +115,7 @@ class FuncAttr:
|
||||
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 })"
|
||||
|
||||
Reference in New Issue
Block a user