Skip to content

Type notation of Getter.get should update. #39

@KAZAMAINaruTo

Description

@KAZAMAINaruTo

Currently
type notation of get method of Getter class in getter.py is

 def get(self, key: str) -> Union[str, None]:

.

But it is incorrect and type checkers in IDE warn.

Correct type notation is as follows:

def get(self, key: Union[bytes, str, list, dict]) -> AgentResponse:

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions