[BE] typing for decorators - fx/_compatibility (#131568)

See #131429

Pull Request resolved: https://github.com/pytorch/pytorch/pull/131568
Approved by: https://github.com/justinchuby, https://github.com/oulgen, https://github.com/zou3519
This commit is contained in:
Aaron Orenstein
2024-07-25 08:05:29 -07:00
committed by PyTorch MergeBot
parent 709ddf7a9d
commit 193f62fde9
77 changed files with 232 additions and 249 deletions

View File

@ -1,4 +1,3 @@
# mypy: allow-untyped-decorators
# mypy: allow-untyped-defs
import copy
from dataclasses import dataclass, field