Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigTable: Integration of GAPIC #5178

Merged
merged 76 commits into from
May 2, 2018
Merged
Show file tree
Hide file tree
Changes from 72 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
3edca4c
Provide new auto-generated layer for Bigtable.
Jan 4, 2018
a677959
Merge branch 'master' into bigtable-regen
Jan 4, 2018
d540349
Add retry for read rows
Feb 14, 2018
4aa5702
Fix line lengths
Feb 14, 2018
f7d4c69
Add parameter start_inclusive to _create_row_request
Feb 14, 2018
28892ce
Update unit test case for yield rows retry
Feb 14, 2018
8d141f0
Fix line lengths
Feb 14, 2018
902f11b
Edit table.py as requested changes
Feb 16, 2018
4afabb1
Added code review changes from @jonparrott.
Feb 19, 2018
79698b1
Fix parameter name on _RetryableReadRows class
Feb 22, 2018
9b778be
Add retry for Deadline Exceeded on read rows
Feb 23, 2018
cafc5ad
Fix line over-indented
Feb 23, 2018
f974752
Fix line over-indented
Feb 23, 2018
f7242f4
Merge commit '3edca4c3299e85d4346dae49232d540a2d34002c' of https://gi…
Feb 23, 2018
180d1d5
Merge commit 'a67795951bc9f490265eda7cf511e17d2cc70921' of https://gi…
Feb 23, 2018
f2e39e0
Working on gapic integration
Feb 23, 2018
13adfd6
Refactore yield_rows retry
Feb 23, 2018
ca69a2f
1. Moved last_scanned_row_key into YieldRowsData.
Feb 27, 2018
02c154e
Fix line over-indented
Feb 27, 2018
b6da7fa
Fix row_data.py
Feb 27, 2018
f1a2d92
Change row.py as requested
Feb 27, 2018
65c1c4b
Create new test case for yield_rows iterator failure
Feb 28, 2018
170a173
Fix for start_inclusive on retry read rows.
Mar 1, 2018
5da3fd3
Merge branch 'master' of https://github.com/zakons/google-cloud-pytho…
Mar 1, 2018
f7a58b5
Change bigtable_pb2 imports to use from gapic library.
Mar 2, 2018
c8f664b
Merge branch 'feature/read_rows_retry' of https://github.com/zakons/g…
Mar 6, 2018
d5f0d98
Working on gapic
Mar 6, 2018
32df7bd
Integrate bigtable GAPIC client
Mar 8, 2018
77ec950
Refactoring unit tests
Mar 27, 2018
efbf2f5
Refactor to use GAPIC client
Mar 27, 2018
4702e3c
Put back _generated files
Mar 27, 2018
cf3fb72
Fix _generated files
Mar 27, 2018
1ffda67
Fix line too long and remove unused variables
Mar 27, 2018
124de59
Fix instance.py and its unittest cases
Mar 27, 2018
0f69800
Add admin client.
Mar 30, 2018
022bd3f
Fix the gRPC stub paths.
Mar 30, 2018
5378926
Merge commit '022bd3f21fa98ea08b6f1af71a9afec71c524805' of https://gi…
Apr 2, 2018
5575990
Update bigtable admin client pb files and imports
Apr 4, 2018
ee98e67
Remove old client and related modules
Apr 4, 2018
37235c7
Remove _generated
Apr 4, 2018
fdc6db0
Fix test cases and update table.py
Apr 5, 2018
feb7d44
Remove unused code from test_table.py
Apr 5, 2018
aaa050e
Add grpc google iam v1 on setup.py on bigtable
Apr 6, 2018
2887c50
Update doc strings
Apr 9, 2018
eb69eff
Update docstrings
Apr 10, 2018
32a16c4
Change on routing_header to use to_grpc_metadata
Apr 11, 2018
078ca2b
Fix test cases on test_bigtable_instance_admin_client_pb2.py
Apr 11, 2018
c4a4482
Fix test cases on test_bigtable_instance_admin_client_pb2.py
Apr 11, 2018
07c4073
Fix test cases on test_bigtable_instance_admin_client_pb2.py
Apr 11, 2018
ee095bc
Fix line indention and remove unused variables
Apr 11, 2018
35b63d8
Fix missing whitespace after
Apr 11, 2018
70935f3
Merge branch 'master' of https://github.com/zakons/google-cloud-pytho…
Apr 11, 2018
f715b80
Update docs for bigtable changes
Apr 11, 2018
28426ad
Fix Unexpected indentation on table.py
Apr 11, 2018
e04b6b9
Add license header
Apr 13, 2018
16650cb
Merge branch 'master' of https://github.com/zakons/google-cloud-pytho…
Apr 13, 2018
2ae35af
Refactore GAPIC to use like old client
Apr 17, 2018
87dbe14
Fix unit test cases and refactor code for GAPIC client
Apr 18, 2018
3b69b0b
Fix credential issue with test cases
Apr 18, 2018
cc7413f
Remove _data_stub from Client
Apr 18, 2018
3a462d3
Fix coverage issues
Apr 18, 2018
0c8238c
Fix bigtable docs
Apr 19, 2018
ef47441
Merge branch 'master' of https://github.com/zakons/google-cloud-pytho…
Apr 19, 2018
b9a7d8d
Fix Definition list ends without a blank line
Apr 19, 2018
ff3316a
Fix docstring on list_instances
Apr 19, 2018
a74ff23
Fix the doc string on list_instances
Apr 19, 2018
e7c64ae
Fix Definition list ends without a blank line
Apr 19, 2018
a8d6f83
Remove custer doc from docs
Apr 19, 2018
b67ab6a
Added cluster
Apr 23, 2018
634f3b4
Add cluster.rst bigtable docs
Apr 23, 2018
480f26b
Merge branch 'master' of https://github.com/zakons/google-cloud-pytho…
Apr 23, 2018
a9b6d90
Add cluster in toctree
Apr 23, 2018
ab91e64
Fix required changes on doc strings
aneepct Apr 30, 2018
8bb0816
Fix required changes on doc strings
aneepct Apr 30, 2018
3702901
Merge branch 'master' of https://github.com/zakons/google-cloud-pytho…
aneepct Apr 30, 2018
8c29ca6
Fix requested review changes
aneepct May 2, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
310 changes: 310 additions & 0 deletions bigtable/docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,310 @@
# -*- coding: utf-8 -*-
#
# google-cloud-bigtable documentation build configuration file
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os
import shlex

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))

__version__ = '0.1.0'

# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
'sphinx.ext.coverage',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
]

# autodoc/autosummary flags
autoclass_content = 'both'
autodoc_default_flags = ['members']
autosummary_generate = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'

# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'google-cloud-bigtable'
copyright = u'2017, Google'
author = u'Google APIs'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = __version__
# The short X.Y version.
version = '.'.join(release.split('.')[0:2])

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']

# The reST default role (used for this markup: `text`) to use for all
# documents.
#default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []

# If true, keep warnings as "system message" paragraphs in the built documents.
#keep_warnings = False

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True

# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None

# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = []

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
#html_extra_path = []

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'

# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}

# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}

# If false, no module index is generated.
#html_domain_indices = True

# If false, no index is generated.
#html_use_index = True

# If true, the index is split into individual pages for each letter.
#html_split_index = False

# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True

# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
#html_show_copyright = True

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''

# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None

# Language to be used for generating the HTML full-text search index.
# Sphinx supports the following languages:
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
#html_search_language = 'en'

# A dictionary with options for the search language support, empty by default.
# Now only 'ja' uses this config value
#html_search_options = {'type': 'default'}

# The name of a javascript file (relative to the configuration directory) that
# implements a search results scorer. If empty, the default will be used.
#html_search_scorer = 'scorer.js'

# Output file base name for HTML help builder.
htmlhelp_basename = 'google-cloud-bigtable-doc'

# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#'preamble': '',

# Latex figure (float) alignment
#'figure_align': 'htbp',
}

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'google-cloud-bigtable.tex',
u'google-cloud-bigtable Documentation', author, 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None

# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False

# If true, show page references after internal links.
#latex_show_pagerefs = False

# If true, show URL addresses after external links.
#latex_show_urls = False

# Documents to append as an appendix to all manuals.
#latex_appendices = []

# If false, no module index is generated.
#latex_domain_indices = True

# -- Options for manual page output ---------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [(master_doc, 'google-cloud-bigtable',
u'google-cloud-bigtable Documentation', [author], 1)]

# If true, show URL addresses after external links.
#man_show_urls = False

# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'google-cloud-bigtable',
u'google-cloud-bigtable Documentation', author, 'google-cloud-bigtable',
'GAPIC library for the {metadata.shortName} v2 service', 'APIs'),
]

# Documents to append as an appendix to all manuals.
#texinfo_appendices = []

# If false, no module index is generated.
#texinfo_domain_indices = True

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'python': ('http://python.readthedocs.org/en/latest/', None),
'gax': ('https://gax-python.readthedocs.org/en/latest/', None),
}

# Napoleon settings
napoleon_google_docstring = True
napoleon_numpy_docstring = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True
6 changes: 6 additions & 0 deletions bigtable/docs/gapic/v2/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Client for Cloud Bigtable API
=============================

.. automodule:: google.cloud.bigtable_v2
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions bigtable/docs/gapic/v2/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Types for Cloud Bigtable API Client
===================================

.. automodule:: google.cloud.bigtable_v2.types
:members:
Loading