Skip to content

Commit b79764e

Browse files
Pyre Bot Jrfacebook-github-bot
Pyre Bot Jr
authored andcommitted
suppress errors in fbcode/vision - batch 2
Differential Revision: D35590813 fbshipit-source-id: 0f35d7193f839a41f3cac18bf20236b815368f19
1 parent b1ff9d9 commit b79764e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytorch3d/implicitron/dataset/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ def _unwrap_type(tp):
277277

278278
def _get_dataclass_field_default(field: Field) -> Any:
279279
if field.default_factory is not MISSING:
280+
# pyre-fixme[29]: `Union[dataclasses._MISSING_TYPE,
281+
# dataclasses._DefaultFactory[typing.Any]]` is not a function.
280282
return field.default_factory()
281283
elif field.default is not MISSING:
282284
return field.default

0 commit comments

Comments
 (0)