Skip to content

Commit

Permalink
Add missing Pyre mode headers] [batch:23/1523] [shard:39/N] [A]
Browse files Browse the repository at this point in the history
Differential Revision: D68273312

fbshipit-source-id: b78fd94ef3d8adaa53003028b2ac938b3ee08313
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Jan 17, 2025
1 parent c8ae7a9 commit c4f5aba
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py/CppServerWrapper.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

import typing as __typing

class CppContextData: ...
Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py/protocol/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe


def create_ThriftUnicodeDecodeError_from_UnicodeDecodeError(error, field_name):
if isinstance(error, ThriftUnicodeDecodeError):
Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py/server/TAsyncioServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

import asyncio
import functools
import logging
Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py/server/TCppServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

from __future__ import absolute_import, division, print_function, unicode_literals

import sys
Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py/transport/TSocketTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

from __future__ import absolute_import, division, print_function, unicode_literals

import os.path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

import struct
import unittest

Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

# See __init__.pyi for easier to digest types for typecheckers

__all__ = []
Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py3/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

from thrift.python.client.ssl import * # noqa
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/py3_to_python/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

"""
Intermediate solution to be able to have a generic serializer from
"""
Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/python/any/any_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe


from __future__ import annotations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

from __future__ import annotations

import timeit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

import timeit
import typing
from enum import Enum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe


from __future__ import annotations

Expand Down
2 changes: 2 additions & 0 deletions third-party/thrift/src/thrift/lib/python/benchmark/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe


from __future__ import annotations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

import timeit
from collections import defaultdict

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pyre-unsafe

import unittest
from sys import float_info, getrefcount
from typing import Callable
Expand Down

0 comments on commit c4f5aba

Please sign in to comment.