Skip to content

Commit

Permalink
Add Enums section to BigQuery API reference docs
Browse files Browse the repository at this point in the history
  • Loading branch information
plamut committed Jul 29, 2019
1 parent 95c13df commit 6ab511a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions bigquery/docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,16 @@ Magics

magics


Enums
=====

.. autosummary::
:toctree: generated

enums.StandardSqlDataTypes


Additional Types
================

Expand Down
2 changes: 1 addition & 1 deletion bigquery/google/cloud/bigquery/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def _make_sql_scalars_enum():
new_doc = "\n".join(
six.moves.filterfalse(skip_pattern.search, orig_doc.splitlines())
)
new_enum.__doc__ = new_doc
new_enum.__doc__ = "An Enum of scalar SQL types.\n" + new_doc

return new_enum

Expand Down

0 comments on commit 6ab511a

Please sign in to comment.