Skip to content

Commit 16ec6fe

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Pyre Configurationless migration for] [batch:137/244]
Reviewed By: connernilsen Differential Revision: D54729393 fbshipit-source-id: 7b49380981261dc833e77aab3cdf12000a2e87c6
1 parent b72bfd4 commit 16ec6fe

File tree

390 files changed

+772
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

390 files changed

+772
-0
lines changed

reagent/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
3+
4+
# pyre-unsafe

reagent/core/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
2+
3+
# pyre-unsafe

reagent/core/aggregators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
33

4+
# pyre-unsafe
5+
46
import logging
57
from collections import deque
68
from typing import Any, Callable, Deque, Dict, List, Optional

reagent/core/base_dataclass.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
33

4+
# pyre-unsafe
5+
46
"""
57
We should revisit this at some point. Config classes shouldn't subclass from this.
68
"""

reagent/core/configuration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
33

4+
# pyre-unsafe
5+
46
import functools
57
from dataclasses import Field, fields, MISSING
68
from inspect import isclass, Parameter, signature

reagent/core/dataclasses.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
33

4+
# pyre-unsafe
5+
46
import dataclasses
57
import logging
68
import os

reagent/core/debug_on_error.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
33

4+
# pyre-unsafe
5+
46
import sys
57

68

reagent/core/fb_checker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
3+
4+
# pyre-unsafe
35
import importlib.util
46
import os
57

reagent/core/multiprocess_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
33

4+
# pyre-unsafe
5+
46
from functools import partial
57
from typing import Any, Callable, Dict, List
68

reagent/core/observers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
33

4+
# pyre-unsafe
5+
46
import logging
57
from typing import Any, Dict, Iterable, List, Optional
68

0 commit comments

Comments
 (0)