a K•ºf²ã@s”ddlZddlZddlmZmZdZdZdZdZej e dœdd „Z e d œd d „Z e e eej eej ej ffd œdd„Zdd„Zdd„Zdd„ZdS)éN)ÚTupleÚUnion)Ú_protosÚ _servicesÚ_protos_and_services)éérzBInstall the grpcio-tools package (1.32.0+) to use the {} function.z@The {} function is only on available on Python 3.X interpreters.)ÚmodÚreturncst‡fdd„tDƒƒS)Nc3s|]}tˆ|ƒVqdS)N)Úhasattr)Ú.0Úsym©r ©úx/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/grpc/_runtime_protos.pyÚ óz-_has_runtime_proto_symbols..)ÚallÚ_REQUIRED_SYMBOLSrrrrÚ_has_runtime_proto_symbolssr)r c CsJzddl}WdStyD}zd|jdvr.‚WYd}~dSd}~00dS)NrTÚ grpc_toolsF)rÚ ImportErrorÚargs)rÚerrrÚ_is_grpc_tools_importable"sr)Úfn_nameÚ protobuf_pathr cCsjtjtkrtt |¡ƒ‚nLtƒs.tt |¡ƒ‚ddl}t |j ƒrXt |j d|ƒ}||ƒStt |¡ƒ‚dS)zôCalls one of the three functions, lazily importing grpc_tools. Args: fn_name: The name of the function to import from grpc_tools.protoc. protobuf_path: The path to import. Returns: The appropriate module object. rNÚ_) ÚsysÚ version_infoÚ_MINIMUM_VERSIONÚNotImplementedErrorÚ_VERSION_ERROR_TEMPLATEÚformatrÚ_UNINSTALLED_TEMPLATEÚgrpc_tools.protocrÚprotocÚgetattr)rrrÚfnrrrÚ_call_with_lazy_import/s  r)cCs td|ƒS)aWReturns a module generated by the indicated .proto file. THIS IS AN EXPERIMENTAL API. Use this function to retrieve classes corresponding to message definitions in the .proto file. To inspect the contents of the returned module, use the dir function. For example: ``` protos = grpc.protos("foo.proto") print(dir(protos)) ``` The returned module object corresponds to the _pb2.py file generated by protoc. The path is expected to be relative to an entry on sys.path and all transitive dependencies of the file should also be resolveable from an entry on sys.path. To completely disable the machinery behind this function, set the GRPC_PYTHON_DISABLE_DYNAMIC_STUBS environment variable to "true". Args: protobuf_path: The path to the .proto file on the filesystem. This path must be resolveable from an entry on sys.path and so must all of its transitive dependencies. Returns: A module object corresponding to the message code for the indicated .proto file. Equivalent to a generated _pb2.py file. Úprotos©r)©rrrrr*Is!r*cCs td|ƒS)a¬Returns a module generated by the indicated .proto file. THIS IS AN EXPERIMENTAL API. Use this function to retrieve classes and functions corresponding to service definitions in the .proto file, including both stub and servicer definitions. To inspect the contents of the returned module, use the dir function. For example: ``` services = grpc.services("foo.proto") print(dir(services)) ``` The returned module object corresponds to the _pb2_grpc.py file generated by protoc. The path is expected to be relative to an entry on sys.path and all transitive dependencies of the file should also be resolveable from an entry on sys.path. To completely disable the machinery behind this function, set the GRPC_PYTHON_DISABLE_DYNAMIC_STUBS environment variable to "true". Args: protobuf_path: The path to the .proto file on the filesystem. This path must be resolveable from an entry on sys.path and so must all of its transitive dependencies. Returns: A module object corresponding to the stub/service code for the indicated .proto file. Equivalent to a generated _pb2_grpc.py file. Úservicesr+r,rrrr-ms"r-cCs td|ƒS)aƒReturns a 2-tuple of modules corresponding to protos and services. THIS IS AN EXPERIMENTAL API. The return value of this function is equivalent to a call to protos and a call to services. To completely disable the machinery behind this function, set the GRPC_PYTHON_DISABLE_DYNAMIC_STUBS environment variable to "true". Args: protobuf_path: The path to the .proto file on the filesystem. This path must be resolveable from an entry on sys.path and so must all of its transitive dependencies. Returns: A 2-tuple of module objects corresponding to (protos(path), services(path)). Úprotos_and_servicesr+r,rrrr.’sr.)rÚtypesÚtypingrrrr r$r"Ú ModuleTypeÚboolrrÚstrr)r*r-r.rrrrÚs ÿÿþ $%