Skip to content

Commit

Permalink
dict[str, Any]
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Oct 25, 2024
1 parent aca3623 commit aca9818
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 246 deletions.
5 changes: 2 additions & 3 deletions wheel/generate_type_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def to_bytes(self) -> bytes: ...
def __bytes__(self) -> bytes: ...
def stream_to_bytes(self) -> bytes: ...
def get_hash(self) -> bytes32: ...
def to_json_dict(self) -> Json: ...
def to_json_dict(self) -> dict[str, Any]: ...
@classmethod
def from_json_dict(cls, json_dict: Any) -> Self: ...
def from_json_dict(cls, json_dict: dict[str, Any]) -> Self: ...
"""
)

Expand Down Expand Up @@ -267,7 +267,6 @@ def parse_rust_source(filename: str, upper_case: bool) -> list[tuple[str, list[s
from typing_extensions import Self
from chia.types.blockchain_format.program import Program as ChiaProgram
Json = Union[str, bool, int, float, list["Json"], dict[str, "Json"]]
ReadableBuffer = Union[bytes, bytearray, memoryview]
class _Unspec:
Expand Down
Loading

0 comments on commit aca9818

Please sign in to comment.