apache / apache/beam

Remove mypy ignore line from apache_beam/ml/inference/base.py once Dataclass is replaced with NamedTuple

Open
#21,822 0 comments 0 reactions 1 assignee Claimed by @AnandInguva View on GitHub
core ml P3 python run-inference task
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What needs to happen?

There are some type related issues with mypy and Dataclass in base.py. Since, Dataclass is being replaced with [NamedTuple](https://github.com/apache/beam/pull/17773), [this](https://github.com/apache/beam/blob/0150487be615d0e3a6de8442dde58bf26421a1bb/sdks/python/apache_beam/ml/inference/base.py#L17) can be removed

### Issue Priority

Priority: 3

### Issue Component

Component: sdk-py-core

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.