| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d37fb80 commit e08260f
13 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,8 +20,8 @@ | |||
| 20 | 20 | {% endblock %} | |
| 21 | 21 | ||
| 22 | 22 | <div class="body" role="main"> | |
| 23 | - <div class="admonition" id="python2-eol"> | ||
| 24 | - As of January 1, 2020 this library no longer supports Python 2 on the latest released version. | ||
| 23 | + <div class="admonition" id="python2-eol"> | ||
| 24 | + As of January 1, 2020 this library no longer supports Python 2 on the latest released version. | ||
| 25 | 25 | Library versions released prior to that date will continue to be available. For more information please | |
| 26 | 26 | visit <a href="https://cloud.google.com/python/docs/python2-sunset/">Python 2 support on Google Cloud</a>. | |
| 27 | 27 | </div> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,19 +1,20 @@ | |||
| 1 | 1 | # -*- coding: utf-8 -*- | |
| 2 | - # Copyright 2024 Google LLC | ||
| 2 | + # Copyright 2025 Google LLC | ||
| 3 | 3 | # | |
| 4 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | 5 | # you may not use this file except in compliance with the License. | |
| 6 | 6 | # You may obtain a copy of the License at | |
| 7 | 7 | # | |
| 8 | - # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | + # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 9 | 9 | # | |
| 10 | 10 | # Unless required by applicable law or agreed to in writing, software | |
| 11 | 11 | # distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | - # google-cloud-spanner documentation build configuration file | ||
| 16 | + # | ||
| 17 | + # google-cloud-spanner-admin-database documentation build configuration file | ||
| 17 | 18 | # | |
| 18 | 19 | # This file is execfile()d with the current directory set to its | |
| 19 | 20 | # containing dir. | |
@@ -42,7 +43,7 @@ | |||
| 42 | 43 | # -- General configuration ------------------------------------------------ | |
| 43 | 44 | ||
| 44 | 45 | # If your documentation needs a minimal Sphinx version, state it here. | |
| 45 | - needs_sphinx = "1.5.5" | ||
| 46 | + needs_sphinx = "4.5.0" | ||
| 46 | 47 | ||
| 47 | 48 | # Add any Sphinx extension module names here, as strings. They can be | |
| 48 | 49 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | |
@@ -80,8 +81,8 @@ | |||
| 80 | 81 | root_doc = "index" | |
| 81 | 82 | ||
| 82 | 83 | # General information about the project. | |
| 83 | - project = "google-cloud-spanner" | ||
| 84 | - copyright = "2019, Google" | ||
| 84 | + project = "google-cloud-spanner-admin-database" | ||
| 85 | + copyright = "2025, Google, LLC" | ||
| 85 | 86 | author = "Google APIs" | |
| 86 | 87 | ||
| 87 | 88 | # The version info for the project you're documenting, acts as replacement for | |
@@ -154,9 +155,9 @@ | |||
| 154 | 155 | # further. For a list of options available for each theme, see the | |
| 155 | 156 | # documentation. | |
| 156 | 157 | html_theme_options = { | |
| 157 | - "description": "Google Cloud Client Libraries for google-cloud-spanner", | ||
| 158 | + "description": "Google Cloud Client Libraries for google-cloud-spanner-admin-database", | ||
| 158 | 159 | "github_user": "googleapis", | |
| 159 | - "github_repo": "python-spanner", | ||
| 160 | + "github_repo": "google-cloud-python", | ||
| 160 | 161 | "github_banner": True, | |
| 161 | 162 | "font_family": "'Roboto', Georgia, sans", | |
| 162 | 163 | "head_font_family": "'Roboto', Georgia, serif", | |
@@ -248,7 +249,7 @@ | |||
| 248 | 249 | # html_search_scorer = 'scorer.js' | |
| 249 | 250 | ||
| 250 | 251 | # Output file base name for HTML help builder. | |
| 251 | - htmlhelp_basename = "google-cloud-spanner-doc" | ||
| 252 | + htmlhelp_basename = "google-cloud-spanner-admin-database-doc" | ||
| 252 | 253 | ||
| 253 | 254 | # -- Options for warnings ------------------------------------------------------ | |
| 254 | 255 | ||
@@ -266,13 +267,13 @@ | |||
| 266 | 267 | ||
| 267 | 268 | latex_elements = { | |
| 268 | 269 | # The paper size ('letterpaper' or 'a4paper'). | |
| 269 | - #'papersize': 'letterpaper', | ||
| 270 | + # 'papersize': 'letterpaper', | ||
| 270 | 271 | # The font size ('10pt', '11pt' or '12pt'). | |
| 271 | - #'pointsize': '10pt', | ||
| 272 | + # 'pointsize': '10pt', | ||
| 272 | 273 | # Additional stuff for the LaTeX preamble. | |
| 273 | - #'preamble': '', | ||
| 274 | + # 'preamble': '', | ||
| 274 | 275 | # Latex figure (float) alignment | |
| 275 | - #'figure_align': 'htbp', | ||
| 276 | + # 'figure_align': 'htbp', | ||
| 276 | 277 | } | |
| 277 | 278 | ||
| 278 | 279 | # Grouping the document tree into LaTeX files. List of tuples | |
@@ -281,8 +282,8 @@ | |||
| 281 | 282 | latex_documents = [ | |
| 282 | 283 | ( | |
| 283 | 284 | root_doc, | |
| 284 | - "google-cloud-spanner.tex", | ||
| 285 | - "google-cloud-spanner Documentation", | ||
| 285 | + "google-cloud-spanner-admin-database.tex", | ||
| 286 | + "google-cloud-spanner-admin-database Documentation", | ||
| 286 | 287 | author, | |
| 287 | 288 | "manual", | |
| 288 | 289 | ) | |
@@ -316,8 +317,8 @@ | |||
| 316 | 317 | man_pages = [ | |
| 317 | 318 | ( | |
| 318 | 319 | root_doc, | |
| 319 | - "google-cloud-spanner", | ||
| 320 | - "google-cloud-spanner Documentation", | ||
| 320 | + "google-cloud-spanner-admin-database", | ||
| 321 | + "google-cloud-spanner-admin-database Documentation", | ||
| 321 | 322 | [author], | |
| 322 | 323 | 1, | |
| 323 | 324 | ) | |
@@ -335,11 +336,11 @@ | |||
| 335 | 336 | texinfo_documents = [ | |
| 336 | 337 | ( | |
| 337 | 338 | root_doc, | |
| 338 | - "google-cloud-spanner", | ||
| 339 | - "google-cloud-spanner Documentation", | ||
| 339 | + "google-cloud-spanner-admin-database", | ||
| 340 | + "google-cloud-spanner-admin-database Documentation", | ||
| 340 | 341 | author, | |
| 341 | - "google-cloud-spanner", | ||
| 342 | - "google-cloud-spanner Library", | ||
| 342 | + "google-cloud-spanner-admin-database", | ||
| 343 | + "google-cloud-spanner-admin-database Library", | ||
| 343 | 344 | "APIs", | |
| 344 | 345 | ) | |
| 345 | 346 | ] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,6 +49,7 @@ | |||
| 49 | 49 | ||
| 50 | 50 | from google.cloud.spanner_v1.services.spanner import pagers | |
| 51 | 51 | from google.cloud.spanner_v1.types import commit_response | |
| 52 | + from google.cloud.spanner_v1.types import location | ||
| 52 | 53 | from google.cloud.spanner_v1.types import mutation | |
| 53 | 54 | from google.cloud.spanner_v1.types import result_set | |
| 54 | 55 | from google.cloud.spanner_v1.types import spanner | |
@@ -477,10 +478,11 @@ async def sample_batch_create_sessions(): | |||
| 477 | 478 | should not be set. | |
| 478 | 479 | session_count (:class:`int`): | |
| 479 | 480 | Required. The number of sessions to be created in this | |
| 480 | - batch call. The API can return fewer than the requested | ||
| 481 | - number of sessions. If a specific number of sessions are | ||
| 482 | - desired, the client can make additional calls to | ||
| 483 | - ``BatchCreateSessions`` (adjusting | ||
| 481 | + batch call. At least one session is created. The API can | ||
| 482 | + return fewer than the requested number of sessions. If a | ||
| 483 | + specific number of sessions are desired, the client can | ||
| 484 | + make additional calls to ``BatchCreateSessions`` | ||
| 485 | + (adjusting | ||
| 484 | 486 | [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] | |
| 485 | 487 | as necessary). | |
| 486 | 488 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -64,6 +64,7 @@ | |||
| 64 | 64 | ||
| 65 | 65 | from google.cloud.spanner_v1.services.spanner import pagers | |
| 66 | 66 | from google.cloud.spanner_v1.types import commit_response | |
| 67 | + from google.cloud.spanner_v1.types import location | ||
| 67 | 68 | from google.cloud.spanner_v1.types import mutation | |
| 68 | 69 | from google.cloud.spanner_v1.types import result_set | |
| 69 | 70 | from google.cloud.spanner_v1.types import spanner | |
@@ -922,10 +923,11 @@ def sample_batch_create_sessions(): | |||
| 922 | 923 | should not be set. | |
| 923 | 924 | session_count (int): | |
| 924 | 925 | Required. The number of sessions to be created in this | |
| 925 | - batch call. The API can return fewer than the requested | ||
| 926 | - number of sessions. If a specific number of sessions are | ||
| 927 | - desired, the client can make additional calls to | ||
| 928 | - ``BatchCreateSessions`` (adjusting | ||
| 926 | + batch call. At least one session is created. The API can | ||
| 927 | + return fewer than the requested number of sessions. If a | ||
| 928 | + specific number of sessions are desired, the client can | ||
| 929 | + make additional calls to ``BatchCreateSessions`` | ||
| 930 | + (adjusting | ||
| 929 | 931 | [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] | |
| 930 | 932 | as necessary). | |
| 931 | 933 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,11 +23,21 @@ | |||
| 23 | 23 | KeyRange, | |
| 24 | 24 | KeySet, | |
| 25 | 25 | ) | |
| 26 | + from .location import ( | ||
| 27 | + CacheUpdate, | ||
| 28 | + Group, | ||
| 29 | + KeyRecipe, | ||
| 30 | + Range, | ||
| 31 | + RecipeList, | ||
| 32 | + RoutingHint, | ||
| 33 | + Tablet, | ||
| 34 | + ) | ||
| 26 | 35 | from .mutation import ( | |
| 27 | 36 | Mutation, | |
| 28 | 37 | ) | |
| 29 | 38 | from .query_plan import ( | |
| 30 | 39 | PlanNode, | |
| 40 | + QueryAdvisorResult, | ||
| 31 | 41 | QueryPlan, | |
| 32 | 42 | ) | |
| 33 | 43 | from .result_set import ( | |
@@ -80,8 +90,16 @@ | |||
| 80 | 90 | "CommitResponse", | |
| 81 | 91 | "KeyRange", | |
| 82 | 92 | "KeySet", | |
| 93 | + "CacheUpdate", | ||
| 94 | + "Group", | ||
| 95 | + "KeyRecipe", | ||
| 96 | + "Range", | ||
| 97 | + "RecipeList", | ||
| 98 | + "RoutingHint", | ||
| 99 | + "Tablet", | ||
| 83 | 100 | "Mutation", | |
| 84 | 101 | "PlanNode", | |
| 102 | + "QueryAdvisorResult", | ||
| 85 | 103 | "QueryPlan", | |
| 86 | 104 | "PartialResultSet", | |
| 87 | 105 | "ResultSet", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments