Move files
This commit is contained in:
parent
b97b20ba88
commit
c046d64a98
16 changed files with 35 additions and 36 deletions
|
|
@ -1,7 +1,6 @@
|
|||
from .freeze_arguments import freeze, freeze_arguments
|
||||
from .get_arguments import get_arguments
|
||||
from .get_function_metadata_store import get_function_metadata_store
|
||||
from .hashable_base_model import HashableBaseModel
|
||||
from .snake_case_to_text import snake_case_to_text
|
||||
from .strip_lines import strip_lines
|
||||
from .text_to_hex_color import text_to_hex_color
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ from typing import Any, Callable, Dict, Mapping, Sequence
|
|||
def get_arguments(
|
||||
func: Callable, args: Sequence[Any], kwargs: Mapping[str, Any]
|
||||
) -> Dict[str, Any]:
|
||||
"""Return mapping from parameter names to actual argument values"""
|
||||
"""Return mapping from parameter names to actual argument values."""
|
||||
|
||||
signature = inspect.signature(func)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class HashableBaseModel(BaseModel):
|
||||
def __hash__(self) -> int:
|
||||
return hash((type(self),) + tuple(self.__dict__.values()))
|
||||
Loading…
Add table
Add a link
Reference in a new issue