Exclude flags module from the public API.
Change: 147127454
This commit is contained in:
parent
f7c13811f0
commit
a70c4b5dba
@ -39,8 +39,14 @@ class PublicAPIVisitor(object):
|
||||
# sytem modules exposed through platforms for compatibility reasons.
|
||||
# Each entry maps a module path to a name to ignore in traversal.
|
||||
_do_not_descend_map = {
|
||||
# TODO(drpng): This can be removed once sealed off.
|
||||
'': ['platform', 'pywrap_tensorflow', 'user_ops', 'python', 'tools'],
|
||||
'': [
|
||||
'flags', # Don't add flags
|
||||
'platform', # TODO(drpng): This can be removed once sealed off.
|
||||
'pywrap_tensorflow', # TODO(drpng): This can be removed once sealed.
|
||||
'user_ops', # TODO(drpng): This can be removed once sealed.
|
||||
'python',
|
||||
'tools'
|
||||
],
|
||||
|
||||
# Exclude protos, they leak a lot.
|
||||
'core': ['protobuf'],
|
||||
|
Loading…
Reference in New Issue
Block a user