Skip to content

Commit

Permalink
fix: disable stubtest errors for protobuf types.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoel-bagard committed Jan 28, 2024
1 parent 8d69656 commit 794e769
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stubs/tensorflow/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ tensorflow.io.SparseFeature.__new__

# Metaclass inconsistency. The runtime metaclass is defined from c++ extension and is undocumented.
tensorflow.io.TFRecordWriter

# stubtest does not pass for protobuf generated stubs.
tensorflow.train.Example.*
tensorflow.train.BytesList.*
tensorflow.train.Feature.*
tensorflow.train.FloatList.*
tensorflow.train.Int64List.*
tensorflow.train.ClusterDef.*
tensorflow.train.ServerDef.*

0 comments on commit 794e769

Please sign in to comment.