Skip to content

Added @example tags to src/table.js#239

Merged
sduskis merged 17 commits intogoogleapis:masterfrom
vijay-qlogic:tag-ex-comments-table
Oct 12, 2018
Merged

Added @example tags to src/table.js#239
sduskis merged 17 commits intogoogleapis:masterfrom
vijay-qlogic:tag-ex-comments-table

Conversation

@vijay-qlogic
Copy link
Contributor

Fixes #157 for table.js (it's a good idea to open an issue first for discussion)

  • Tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 4, 2018
@vijay-qlogic vijay-qlogic changed the title added example tags for tabe.js Added @example tags to src/table.js Jul 5, 2018
@sduskis
Copy link
Contributor

sduskis commented Jul 6, 2018

@vijay-qlogic: Please fix the errors.

@ghost ghost assigned sduskis Jul 9, 2018
@codecov
Copy link

codecov bot commented Jul 9, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@58457b7). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             master   #239   +/-   ##
=======================================
  Coverage          ?   100%           
=======================================
  Files             ?     10           
  Lines             ?   1281           
  Branches          ?      0           
=======================================
  Hits              ?   1281           
  Misses            ?      0           
  Partials          ?      0
Impacted Files Coverage Δ
src/table.js 100% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58457b7...bdfc711. Read the comment docs.

@sduskis
Copy link
Contributor

sduskis commented Jul 9, 2018

@vijay-qlogic, please fix lint.

@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch from 3dad6f6 to 78dde87 Compare July 11, 2018 04:26
@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch from 6cb5eba to adfdcc6 Compare July 24, 2018 04:41
@sduskis
Copy link
Contributor

sduskis commented Jul 24, 2018

@vijay-qlogic, can you please resolve the conflicts?

@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch from f076d72 to 48e27bb Compare July 24, 2018 18:25
@vijay-qlogic
Copy link
Contributor Author

vijay-qlogic commented Jul 24, 2018

@sduskis conflicts resolved

@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch 2 times, most recently from 92bdaa0 to 2ab64bb Compare July 30, 2018 15:21
@sduskis
Copy link
Contributor

sduskis commented Jul 31, 2018

The samples should be basically what the comments were. They should not be full examples that include printlns.

@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch from a17c3f1 to 94bd339 Compare August 2, 2018 18:04
@sduskis sduskis self-requested a review August 3, 2018 15:35
@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch 3 times, most recently from 5a3edc0 to 85123d5 Compare August 13, 2018 17:03
@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch 2 times, most recently from 9ff8eac to 94d8a06 Compare August 20, 2018 17:30

// creates a new Instance
instance
await instance

This comment was marked as spam.

const snippets = {
createInstance: (instanceId, clusterId, callback) => {
// [START bigtable_create_instance]
createInstance: async (instanceId, clusterId, callback) => {

This comment was marked as spam.

@ghost ghost assigned JustinBeckwith Aug 24, 2018
@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch 3 times, most recently from dbc82b2 to a2ed241 Compare August 31, 2018 17:32
Copy link
Contributor

@sduskis sduskis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vijay-qlogic, please fix the conflicts

@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch from 552426c to 19e7ada Compare October 4, 2018 18:30
callback(err);
return;
// Handle the error.
return callback(err);

This comment was marked as spam.

Copy link
Contributor

@sduskis sduskis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a few minor changes, but otherwise looks great.

const Bigtable = require('@google-cloud/bigtable');
const bigtable = new Bigtable();
const instance = bigtable.instance(instanceId);
const caughtError = false;

This comment was marked as spam.

const Bigtable = require('@google-cloud/bigtable');
const bigtable = new Bigtable();
const instance = bigtable.instance(instanceId);
const caughtError = false;

This comment was marked as spam.

const Bigtable = require('@google-cloud/bigtable');
const bigtable = new Bigtable();
const instance = bigtable.instance(instanceId);
const caughtError = false;

This comment was marked as spam.

This comment was marked as spam.

@vijay-qlogic vijay-qlogic force-pushed the tag-ex-comments-table branch from 8287a1f to bdfc711 Compare October 5, 2018 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants