From 79217359ab14f54a5f1376906de0a5453a1c45a4 Mon Sep 17 00:00:00 2001 From: CodemodService Bot Date: Mon, 22 Apr 2024 14:39:26 -0700 Subject: [PATCH] Pyre Configurationless migration for] [batch:28/29] Differential Revision: D56413782 --- torchrec/ir/schema.py | 2 ++ torchrec/ir/serializer.py | 2 ++ torchrec/ir/tests/test_serializer.py | 2 ++ torchrec/ir/utils.py | 2 ++ 4 files changed, 8 insertions(+) diff --git a/torchrec/ir/schema.py b/torchrec/ir/schema.py index 27ee9c8e6..f0fbf706e 100644 --- a/torchrec/ir/schema.py +++ b/torchrec/ir/schema.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + from dataclasses import dataclass from typing import List, Optional diff --git a/torchrec/ir/serializer.py b/torchrec/ir/serializer.py index 514ea501e..f6ebd8ba5 100644 --- a/torchrec/ir/serializer.py +++ b/torchrec/ir/serializer.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + import json from typing import Dict, Type diff --git a/torchrec/ir/tests/test_serializer.py b/torchrec/ir/tests/test_serializer.py index 6ff922c07..af3a91687 100644 --- a/torchrec/ir/tests/test_serializer.py +++ b/torchrec/ir/tests/test_serializer.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + #!/usr/bin/env python3 import unittest diff --git a/torchrec/ir/utils.py b/torchrec/ir/utils.py index bc89ab03b..5809b9dff 100644 --- a/torchrec/ir/utils.py +++ b/torchrec/ir/utils.py @@ -5,6 +5,8 @@ # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. +# pyre-strict + #!/usr/bin/env python3 from typing import List, Tuple, Type