Skip to content

Commit

Permalink
add version to sdk (#3656)
Browse files Browse the repository at this point in the history
* add version to sdk

* Making dunder version static

Co-authored-by: Chavithra PARANA <[email protected]>
  • Loading branch information
jmaslek and Chavithra authored Nov 29, 2022
1 parent e044c82 commit fd97a70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openbb_terminal/core/library/breadcrumb.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from openbb_terminal.core.library.trail_map import TrailMap
from openbb_terminal.core.library.operation import Operation

from openbb_terminal import feature_flags as obbff

# pylint: disable=import-outside-toplevel


Expand Down Expand Up @@ -68,6 +70,8 @@ def build(cls, trail: str, trail_map: TrailMap) -> Metadata:


class Breadcrumb:
__version__ = obbff.VERSION

def __init__(
self,
metadata: Optional[Metadata] = None,
Expand Down Expand Up @@ -100,7 +104,6 @@ def __init__(
self._trail = trail

self.__doc__ = metadata.docstring

if trail == "":
BreadcrumbLogger()

Expand Down

0 comments on commit fd97a70

Please sign in to comment.