apache / apache/beam

Using Any for unsupported type: typing.Sequence[~T]

Open
#20,887 0 comments 0 reactions 0 assignees View on GitHub
beam-community bug P3 types
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Started to see this:

```

[2021-05-11 13:00:51,541] {native_type_compatibility.py:268} INFO - Using Any for unsupported type:
typing.Sequence[~T]

```

From what I can tell it related to this code:
```

# Find the first matching entry. matched_entry = next((entry for entry in type_map if entry.match(typ)),
None) if not matched_entry: # Please add missing type support if you see this message. _LOGGER.info('Using
Any for unsupported type: %s', typ) return typehints.
```

[https://github.com/apache/beam/blob/c3c4933977f96ebc2d858b8953635041a17d2fd1/sdks/python/apache_beam/typehints/native_type_compatibility.py#L257](https://github.com/apache/beam/blob/c3c4933977f96ebc2d858b8953635041a17d2fd1/sdks/python/apache_beam/typehints/native_type_compatibility.py#L257)

but I don't know what to do with it.. I'll leave it to you

Imported from Jira [BEAM-12327](https://issues.apache.org/jira/browse/BEAM-12327). Original Jira may contain additional context.
Reported by: lovk.

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.