Skip to content

Commit

Permalink
feat: wrapper for --metric param. @metric_input wraps click.option an…
Browse files Browse the repository at this point in the history
…d uses regex to verify the input
  • Loading branch information
Max KvR committed Oct 2, 2024
1 parent 1b53019 commit 9f964b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Empty file added metricq/cli/types.py
Empty file.
3 changes: 2 additions & 1 deletion metricq/cli/command.py → metricq/cli/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from dotenv import find_dotenv, load_dotenv

from .. import get_logger
from .params import FC, TemplateStringParam
from .params import TemplateStringParam
from .types import FC

# We do not interpolate (i.e. replace ${VAR} with corresponding environment variables).
# That is because we want to be able to interpolate ourselves for metrics and tokens
Expand Down

0 comments on commit 9f964b4

Please sign in to comment.