Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use gen_parse_metadata #90

Merged
merged 2 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v0.2.3

- Use gen_parse_metadata for async pipeline


## v0.2.2

- Go deep on making things as async as they possibly can
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Getting Started

Documentation for version: **v0.2.2**
Documentation for version: **v0.2.3**

## Overview

Expand Down
2 changes: 1 addition & 1 deletion offchain/metadata/pipelines/metadata_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ async def gen_parse_metadata(
if not parser.should_parse_token(token=token, raw_data=raw_data): # type: ignore[arg-type] # noqa: E501
return None
try:
metadata_or_error = parser.parse_metadata(
metadata_or_error = await parser.gen_parse_metadata(
token=token, raw_data=raw_data # type: ignore[arg-type]
)
if isinstance(metadata_or_error, Metadata):
Expand Down
Loading
Loading