profile
viewpoint

caraesten/dial_a_zine_issue1 1

Issue 1 of the tty zine

loferris/CamanJS 0

Javascript HTML5 (Ca)nvas (Man)ipulation

loferris/career-bouquet 0

a public repo for aggregated and synthesized resources for being interview ready, so as not to re-invent the wheel every time.

loferris/curbside-community-support 0

simple interface for community supporters to coordinator with Google Sheets API

loferris/curriculum 0

The curriculum of Techtonica, a free tech training and job placement program for women and non-binary adults with low incomes.

loferris/darkroomjs 0

[UNMAINTAINED] Extensible image editing tool in your browser

loferris/grimoire 0

a photo-editing and sharing app inspired by serverless architecture

push eventdavidcavazos/python-docs-samples

WhiteSource Renovate

commit sha 18583e42672f9f69db04f6b02e707333d38a1552

chore(deps): update dependency google-api-python-client to v1.12.10 (#7373) Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>

view details

Lo Ferris

commit sha 2fe86a273a77f970bbd573140ec8a84c4e16b48c

Merge branch 'main' into dataflow-conflicting-flag

view details

push time in 5 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

push eventyoshi-code-bot/google-cloud-go

Brenna N Epp

commit sha 8365456ee14d7af0328ce75760df489d59bc6b86

feat(storage): add retry config to IAM handle and reader (#5223) * feat(storage): add retry config to iam * feat(storage): add retry config to reader

view details

WhiteSource Renovate

commit sha a77efde38a2b0144e2aec28aac6a99c170088335

chore(all): update all (#5226)

view details

Brenna N Epp

commit sha 4910cd4d8a1998d16a78b14393de78c634dba0c3

feat(storage): add retry config to iterators

view details

Brenna N Epp

commit sha 60dc590970f12b404a37bafd20eefbb828d038e5

ci(storage): run emulator tests only on lastest go version (#5252)

view details

Chris Cotter

commit sha 2fb039ccca24c5298ec687ce3cff6341cc101ecc

test(storage): fix version checking logic (#5254) Fixes version checking logic for emulator tests

view details

Lo Ferris

commit sha bbbdd455d3ac43b6fa6e4c6ce4226b33482e8532

Merge branch 'main' into release-bigquery-v1.26.0

view details

push time in a month

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentgoogleapis/python-bigquery-connection

feat: create connection sample for MySQL instance

+# Copyright 2021 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+#     https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++# [START bigqueryconnection_connection_create]+from google.cloud import bigquery_connection_v1 as bq_connection+from google.cloud.bigquery_connection_v1 import types as connection_types++"""This sample shows how to create a BigQuery connection with a Cloud MySql database"""+++def main(+    project_id: str,+    location: str,+    connection_id: str,+    database: str,+    instance: str,+    instance_location: str,+    username: str,+    password: str,+) -> connection_types.Connection:+    # [START_EXCLUDE]+    original_project_id = project_id+    original_location = location+    original_connection_id = connection_id+    original_database = database+    original_instance = instance+    original_instance_location = instance_location+    original_username = username+    original_password = password+    # [END_EXCLUDE]

This is a pattern we've been following recently - I believe the purpose is to allow the function to be "live" and testable while still giving a clear view to the developer on how to fill in their own values. To me I think it makes more sense to have developer values set as statics above the function itself, but I'm not sure if that's consistent with what we've been doing. @tswast may have an opinion!

loferris

comment created time in a month

PullRequestReviewEvent

PR opened googleapis/python-bigquery-connection

Feat create connection

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • [X] Ensure the tests and linter pass
  • [X] Code coverage does not decrease (if any source code was changed)
  • [X] Appropriate docs were updated (if necessary)
+220 -4

0 comment

3 changed files

pr created time in a month

push eventgoogleapis/python-bigquery-connection

Lo Ferris

commit sha ace2625439d1fdc5dd5bf1bebd917aa825ae63fa

complete sample

view details

push time in a month

push eventGoogleCloudPlatform/python-docs-samples

WhiteSource Renovate

commit sha 918314088cb0d0d07c4a930ed9dc349662b1791c

chore(deps): update dependency botocore to v1.23.23 (#7221)

view details

WhiteSource Renovate

commit sha e736a98ab499d0e28bdf2a3a592267360d97437b

chore(deps): update dependency boto3 to v1.20.23 (#7220) Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>

view details

WhiteSource Renovate

commit sha 3ca114fb64df7ac7db62219dcc0cd4b01ec667e3

chore(deps): update dependency pytest-xdist to v2.5.0 (#7224) Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>

view details

Daniel Bankhead

commit sha c3ceeececfffb0a4056f3d02d6d654b1faea687b

feat: Add samples for STS GAPIC client (#7091) * feat: Add samples for GAPIC client * refactor(storagetransfer): Update region tags * refactor(storagetransfer)!: Unify `storage-transfer` and `storage/transfer-service` as `storagetransfer` * refactor(storagetransfer): Update region tags for apiary samples Removes legacay `all` and `main` tags * style(storagetransfer): Rename new sample file names to match existing names Keeps things a bit more uniform * docs(storagetransfer): Update copyright info for migrated files * docs(storagetransfer): Update documentation for clarity * docs(storagetransfer): Make `header-check` happy * refactor(storagetransfer): Streamline quick start * refactor(storagetransfer): Updates for `Python Sample Authoring Guide` conformance * refactor(storagetransfer): Repair apiary import * chore(storagetransfer): Fix copyright year * test(storagetransfer): Disable `enforce_type_hints` This folder has old samples that we don't want to heavily modify * feat(storagetransfer): Add GAPIC retry sample * refactor(storagetransfer): cleanup Duration import * test(storagetransfer): Split up existing test file and add tests for GAPIC * fix(storagetransfer): Correctly pass `retry` parameter * feat(storagetransfer): Add create client samples * feat(storagetransfer): Add GAPIC sample for `storagetransfer_transfer_check` * refactor(storagetransfer): Get more info from `get_operation` * refactor(storagetransfer): Use conventional style for argument flags * test(storagetransfer): Import test reliability with `backoff` * test(storagetransfer): Cleanup transfer jobs post-test * test(storagetransfer): Add tests for `transfer_check` * refactor(storagetransfer): Add `description` to match apiary client * test(storagetransfer): Add tests for `nearline_request` * feat(storagetransfer): Improve `TransferOperation` samples by deserializing the payload * docs(storagetransfer): Clarifications * style(storagetransfer): line break (80 char limit) * test(storagetransfer): Source AWS secrets if available * docs(storagetransfer): Update README input Update input for consistency, although not necessarily used * test(storagetransfer): Prepare and use shared, dynamic setup Use shared config, dynamically prepare buckets * test(storagetransfer): Add simple tests for create client * refactor(storagetransfer): Add description to AWS request sample * test(storagetransfer): Move `job_description` to shared test utility * test(storagetransfer): Add tests for S3 -> GCS * fix(storagetransfer): Correct `storagetransfer_create_transfer_client` region tag * fix(storagetransfer): `BEGIN` -> `START` * fix(storagetransfer): `BEGIN` -> `START` * docs(storagetransfer): Typo * feat(storagetransfer): Add `cloud-storage-dpes` and `python-samples-owners` to CODEOWNERS * fix(storagetransfer): Correct shebang on apiary samples * docs: Add comment for AWS secrets * docs(storagetransfer): Fix product URL for README input * refactor(storagetransfer): Remove generic `Exception` catch * test(storagetransfer): Remove unnecessary `noxfile.py` * docs(storagetransfer): Improve `create_client` test documentation * docs(storagetransfer): Improve documentation on `aws-secrets.sh` * docs(storagetransfer): Documentation updates Co-authored-by: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com>

view details

Ace Nassri

commit sha b39441b3ca0a7b27e9c141e9b43e78e729105573

feat(functions/v2): add GCE + CAL sample (#7217) * feat(functions/v2): add GCE + CAL sample * Replace time.sleep with exponential backoff in test * Fix typo * Address comments * Address nit * Address comments * Band-aid for test race conditions

view details

WhiteSource Renovate

commit sha 54772af58cbc0efade0d062a2ce625e168ccf2d9

chore(deps): update dependency google-cloud-vision to v2.6.3 (#7227)

view details

WhiteSource Renovate

commit sha 9c12392fd71a8f21c22911f7dc1c47f74c746838

chore(deps): update dependency google-cloud-storage-transfer to v1.1.1 (#7225) Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>

view details

WhiteSource Renovate

commit sha 3a5162fe52209b27cd590c8715c1c8141d1f350d

chore(deps): update dependency pandas to v1.3.5 (#7226) Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>

view details

Lo Ferris

commit sha 162800cedd26dabd6a24193bee5edd2ea2e56064

Merge branch 'main' into 310-tests

view details

push time in a month

PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentgoogleapis/python-bigquery

process: add mypy-valid type annotations to samples

 # See the License for the specific language governing permissions and # limitations under the License. +from typing import Dict, Mapping, Optional, Sequence -def insert_geojson(override_values={}):++def insert_geojson(+    override_values: Optional[Mapping[str, str]] = None+) -> Sequence[Dict[str, object]]:     # [START bigquery_insert_geojson]     import geojson     from google.cloud import bigquery      bigquery_client = bigquery.Client() +    if override_values is None:+        override_values = {}+

+1

plamut

comment created time in a month

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

push eventgoogleapis/python-bigquery-connection

Lo Ferris

commit sha 2fd9d0c19e9e170c40ce998dedb3345d494f253b

fleshed out sample

view details

push time in a month

more