//python/private/api:py_common_api.bzl
Implementation of py_api.
- rule py_common_api(name)
Internal Rule implementing py_common API.
- typedef PyCommonApi
The py_common API implementation.
An instance of this object is obtained using
py_common.get()- PyCommonApi.merge_py_infos(transitive, direct=[])
Merge PyInfo objects into a single PyInfo.
This is a convenience wrapper around
PyInfoBuilder.merge_all. For more control over merging PyInfo objects, usePyInfoBuilder.- Args:
- Returns:
PyInfoA PyInfo containing the merged values.
- PyCommonApi.PyInfoBuilder()
Creates an instance.
- Returns: