Re-organize directory structure (#4971)

See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
Ivan Levkivskyi
2021-01-27 12:00:39 +00:00
committed by GitHub
parent 869238e587
commit 16ae4c6120
1399 changed files with 601 additions and 97 deletions

View File

@@ -0,0 +1,4 @@
version = "0.1"
python2 = true
python3 = false
requires = ["types-fb303"]

View File

View File

@@ -0,0 +1,40 @@
from typing import Any
import fb303.FacebookService
from thrift.Thrift import TProcessor # type: ignore # We don't have thrift stubs in typeshed
from .ttypes import * # noqa: F403
class Iface(fb303.FacebookService.Iface):
def Log(self, messages): ...
class Client(fb303.FacebookService.Client, Iface):
def __init__(self, iprot, oprot=...) -> None: ...
def Log(self, messages): ...
def send_Log(self, messages): ...
def recv_Log(self): ...
class Processor(fb303.FacebookService.Processor, Iface, TProcessor): # type: ignore
def __init__(self, handler) -> None: ...
def process(self, iprot, oprot): ...
def process_Log(self, seqid, iprot, oprot): ...
class Log_args:
thrift_spec: Any
messages: Any
def __init__(self, messages=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
def __eq__(self, other): ...
def __ne__(self, other): ...
class Log_result:
thrift_spec: Any
success: Any
def __init__(self, success=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
def __eq__(self, other): ...
def __ne__(self, other): ...

View File

@@ -0,0 +1,18 @@
from typing import Any
fastbinary: Any
class ResultCode:
OK: Any
TRY_LATER: Any
class LogEntry:
thrift_spec: Any
category: Any
message: Any
def __init__(self, category=..., message=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
def __eq__(self, other): ...
def __ne__(self, other): ...