Re-sync with internal repository
[hiphop-php.git] / third-party / thrift / src / thrift / compiler / test / fixtures / types / gen-py3 / module / services_reflection.pyx
blobf1c804c4836929c284f394f40e992954307a7b5a
2 # Autogenerated by Thrift
4 # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5 # @generated
8 from thrift.py3.reflection cimport (
9 MethodSpec as __MethodSpec,
10 ArgumentSpec as __ArgumentSpec,
11 NumberType as __NumberType,
14 import folly.iobuf as _fbthrift_iobuf
16 cimport include.types as _include_types
18 cimport module.types as _module_types
21 cdef __InterfaceSpec get_reflection__SomeService(bint for_clients):
22 cdef __InterfaceSpec spec = __InterfaceSpec._fbthrift_create(
23 name="SomeService",
24 annotations={
27 spec.add_method(
28 __MethodSpec._fbthrift_create(
29 name="bounce_map",
30 arguments=(
31 __ArgumentSpec._fbthrift_create(
32 name="m",
33 type=_module_types.std_unordered_map__Map__i32_string,
34 kind=__NumberType.NOT_A_NUMBER,
35 annotations={
39 result=_module_types.std_unordered_map__Map__i32_string,
40 result_kind=__NumberType.NOT_A_NUMBER,
41 exceptions=(
43 annotations={
47 spec.add_method(
48 __MethodSpec._fbthrift_create(
49 name="binary_keyed_map",
50 arguments=(
51 __ArgumentSpec._fbthrift_create(
52 name="r",
53 type=_module_types.List__i64,
54 kind=__NumberType.NOT_A_NUMBER,
55 annotations={
59 result=_module_types.Map__binary_i64,
60 result_kind=__NumberType.NOT_A_NUMBER,
61 exceptions=(
63 annotations={
67 return spec