Skip to content

Commit 80bf4fb

Browse files
committed
Repl: Added branch signifier to intro
1 parent 5ad6609 commit 80bf4fb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

preql/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
# import importlib.metadata as importlib_metadata
77
# __version__ = importlib_metadata.version("prql")
88
__version__ = "0.2.4"
9+
__branch__ = "-schemas"

preql/repl.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from prompt_toolkit.auto_suggest import AutoSuggestFromHistory
2525
from prompt_toolkit.output.color_depth import ColorDepth
2626

27-
from . import __version__
27+
from . import __version__, __branch__
2828
from . import settings
2929
from .utils import memoize
3030
from .loggers import repl_log
@@ -175,7 +175,7 @@ def start_repl(p, prompt=' >> '):
175175
display = p._display
176176
interp = p._interp
177177
console = display.console
178-
console.print(f"[purple]Preql {__version__} interactive prompt. Type help() for help[/purple]")
178+
console.print(f"[purple]Preql {__version__}{__branch__} interactive prompt. Type help() for help[/purple]")
179179

180180
try:
181181
session = PromptSession(

0 commit comments

Comments
 (0)