query: Improve help text in interactive shell.
This commit is contained in:
		
							parent
							
								
									741e662894
								
							
						
					
					
						commit
						c3e0cc869b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -9,6 +9,7 @@ import argparse
 | 
			
		|||
import contextlib
 | 
			
		||||
import datetime
 | 
			
		||||
import enum
 | 
			
		||||
import functools
 | 
			
		||||
import itertools
 | 
			
		||||
import logging
 | 
			
		||||
import sys
 | 
			
		||||
| 
						 | 
				
			
			@ -122,6 +123,7 @@ class StrMeta(bc_query_env.AnyMeta):
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
class AggregateSet(bc_query_compile.EvalAggregator):
 | 
			
		||||
    """Filter argument values that aren't unique."""
 | 
			
		||||
    __intypes__ = [object]
 | 
			
		||||
 | 
			
		||||
    def __init__(self, operands: List[str]) -> None:
 | 
			
		||||
| 
						 | 
				
			
			@ -223,6 +225,7 @@ class BQLShell(bc_query_shell.BQLShell):
 | 
			
		|||
        self.last_line_parsed = line
 | 
			
		||||
        super().run_parser(line, default_close_date)
 | 
			
		||||
 | 
			
		||||
    @functools.wraps(bc_query_shell.BQLShell.on_Select, ('__doc__',))
 | 
			
		||||
    def on_Select(self, statement: QueryStatement) -> None:
 | 
			
		||||
        output_format: str = self.vars['format']
 | 
			
		||||
        try:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue