Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcertora committed Jan 6, 2025
1 parent 4097d3d commit 20a4b3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Quorum/entry_points/quorum_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import argparse
from pydantic import BaseModel
from typing import Callable

import Quorum.entry_points.cli_arguments as cli_args
from Quorum.entry_points.implementations.check_proposal import run_single
Expand All @@ -16,10 +17,7 @@ class Command(BaseModel):
name: str
help: str
arguments: list[cli_args.Argument]
func: callable

class Config:
arbitrary_types_allowed = True
func: Callable[[argparse.Namespace], None]


COMMAND_REGISTRY = [
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20250106.171312.982801
20250106.171730.755013

0 comments on commit 20a4b3c

Please sign in to comment.