query: Clean unused code.
This moved into _EnvironmentMixin.with_config().
This commit is contained in:
parent
69f3e4ee6e
commit
fff211386f
1 changed files with 1 additions and 4 deletions
|
@ -515,12 +515,9 @@ class BQLShell(bc_query_shell.BQLShell):
|
||||||
do_numberify: bool=False,
|
do_numberify: bool=False,
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(is_interactive, loadfun, outfile, default_format, do_numberify)
|
super().__init__(is_interactive, loadfun, outfile, default_format, do_numberify)
|
||||||
rt_credentials = config.rt_credentials()
|
|
||||||
rt_key = rt_credentials.idstr()
|
|
||||||
rt_client = config.rt_client(rt_credentials)
|
|
||||||
self.env_postings = FilterPostingsEnvironment.with_config(config)()
|
self.env_postings = FilterPostingsEnvironment.with_config(config)()
|
||||||
self.env_targets = TargetsEnvironment.with_config(config)()
|
self.env_targets = TargetsEnvironment.with_config(config)()
|
||||||
self.ods = QueryODS(config.rt_wrapper(rt_credentials))
|
self.ods = QueryODS(config.rt_wrapper())
|
||||||
self.last_line_parsed = ''
|
self.last_line_parsed = ''
|
||||||
|
|
||||||
def run_parser(
|
def run_parser(
|
||||||
|
|
Loading…
Reference in a new issue