Skip to content

Commit da63ac5

Browse files
authored
Merge pull request #35 from opentensor/release/1.0.0rc12
Release/1.0.0rc12
2 parents 13d518b + 6c0e50f commit da63ac5

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 1.0.0rc12 /2025-02-07
4+
* python 3.9 support by @roman-opentensor in https://github.com/opentensor/async-substrate-interface/pull/33
5+
36
## 1.0.0rc11 /2025-02-06
47
* Reuses the websocket for sync Substrate by @thewhaleking in https://github.com/opentensor/async-substrate-interface/pull/29
58
* Feat/metadata v15 cache by @camfairchild in https://github.com/opentensor/async-substrate-interface/pull/30

async_substrate_interface/utils/decoding.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Union
2+
13
from bt_decode import AxonInfo, PrometheusInfo
24

35

@@ -29,7 +31,7 @@ def _determine_if_old_runtime_call(runtime_call_def, metadata_v15_value) -> bool
2931
return False
3032

3133

32-
def _bt_decode_to_dict_or_list(obj) -> dict | list[dict]:
34+
def _bt_decode_to_dict_or_list(obj) -> Union[dict, list[dict]]:
3335
if isinstance(obj, list):
3436
return [_bt_decode_to_dict_or_list(item) for item in obj]
3537

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "async-substrate-interface"
3-
version = "1.0.0rc11"
3+
version = "1.0.0rc12"
44
description = "Asyncio library for interacting with substrate. Mostly API-compatible with py-substrate-interface"
55
readme = "README.md"
66
license = { file = "LICENSE" }

0 commit comments

Comments
 (0)