Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def getParams() -> Optional[Dict[str, ciphey.iface.ParamSpec]]:
return {
"dict": ciphey.iface.ParamSpec(
desc="The morse code dictionary to use",
req=False,
default="cipheydists::translate::morse",
)
def getParams() -> Optional[Dict[str, ParamSpec]]:
return {
"regex": ParamSpec(
req=True,
desc="The regex that must be matched (in a substring)",
list=True,
)
def getParams() -> Optional[Dict[str, ParamSpec]]:
return {
"checker": ParamSpec(
req=True, desc="The checkers to be used for analysis", list=True
),
"k": ParamSpec(
req=False,
desc="The minimum quorum size. Defaults to the number of checkers",
),
def getParams() -> Optional[Dict[str, ParamSpec]]:
return {
"checker": ParamSpec(
req=True, desc="The checkers to be used for analysis", list=True
),
"k": ParamSpec(
req=False,
desc="The minimum quorum size. Defaults to the number of checkers",
),
def getParams() -> Optional[Dict[str, ciphey.iface.ParamSpec]]:
return {"path": ParamSpec(req=True, desc="The path to a JSON file", list=True)}