Skip to content

Commit a851806

Browse files
authored
Merge pull request #90 from ourzora/try-async-parser
use gen_parse_metadata
2 parents c24b372 + 819c396 commit a851806

File tree

6 files changed

+123
-21
lines changed

6 files changed

+123
-21
lines changed

docs/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v0.2.3
4+
5+
- Use gen_parse_metadata for async pipeline
6+
7+
38
## v0.2.2
49

510
- Go deep on making things as async as they possibly can

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Getting Started
22

3-
Documentation for version: **v0.2.2**
3+
Documentation for version: **v0.2.3**
44

55
## Overview
66

offchain/metadata/pipelines/metadata_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ async def gen_parse_metadata(
274274
if not parser.should_parse_token(token=token, raw_data=raw_data): # type: ignore[arg-type] # noqa: E501
275275
return None
276276
try:
277-
metadata_or_error = parser.parse_metadata(
277+
metadata_or_error = await parser.gen_parse_metadata(
278278
token=token, raw_data=raw_data # type: ignore[arg-type]
279279
)
280280
if isinstance(metadata_or_error, Metadata):

0 commit comments

Comments
 (0)