add pairs as new option
This commit is contained in:
parent
c2c3c85af9
commit
6139856a3c
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ def dwh_healthcheck():
|
||||||
@click.option(
|
@click.option(
|
||||||
"--currencies", default=",".join([]), show_default=True, type=click.STRING
|
"--currencies", default=",".join([]), show_default=True, type=click.STRING
|
||||||
)
|
)
|
||||||
|
@click.option("--pairs", default=",".join([]), show_default=True, type=click.STRING)
|
||||||
@click.option("--dry-run", is_flag=True)
|
@click.option("--dry-run", is_flag=True)
|
||||||
@click.option("--rates-source", type=click.Choice(RATES_SOURCES.keys()), default="mock")
|
@click.option("--rates-source", type=click.Choice(RATES_SOURCES.keys()), default="mock")
|
||||||
@click.option("--ignore-warnings", is_flag=True)
|
@click.option("--ignore-warnings", is_flag=True)
|
||||||
|
|
@ -80,6 +81,7 @@ def get_rates(
|
||||||
start_date: Union[str, datetime.datetime, datetime.date],
|
start_date: Union[str, datetime.datetime, datetime.date],
|
||||||
end_date: Union[str, datetime.datetime, datetime.date],
|
end_date: Union[str, datetime.datetime, datetime.date],
|
||||||
currencies: Union[None, str],
|
currencies: Union[None, str],
|
||||||
|
pairs: Union[None, str],
|
||||||
dry_run: bool,
|
dry_run: bool,
|
||||||
rates_source: str,
|
rates_source: str,
|
||||||
ignore_warnings: bool,
|
ignore_warnings: bool,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue