04c2cea8cd315df582d6f03813f2b84aef47d57e,deploy/create_project.py,,enable_services_apis,#,159

Before Change


  resources = config.project.get("resources", {})
  if "iam_custom_roles" in resources:
    want_apis.add("iam.googleapis.com")
  for chc_resource_type in _SUPPORT_CHC_RESOURCE_TYPES:
    if chc_resource_type in resources:
      want_apis.add("healthcare.googleapis.com")
      break

  want_apis = list(want_apis)

  // Send in batches to avoid hitting quota limits.
  for i in range(0, len(want_apis), 10):

After Change


    want_apis.add("iam.googleapis.com")
  if "chc_datasets" in resources:
    want_apis.add("healthcare.googleapis.com")
  if "gke_clusters" in resources:
    want_apis.add("container.googleapis.com")

  want_apis = list(want_apis)

  // Send in batches to avoid hitting quota limits.
  for i in range(0, len(want_apis), 10):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 04c2cea8cd315df582d6f03813f2b84aef47d57e
Time: 2019-06-28
Author: ruihuang@google.com
File Name: deploy/create_project.py
Class Name:
Method Name: enable_services_apis


Project Name: biocore/scikit-bio
Commit Name: daf661c3edd949f8ac2cd70e4a725d9a055cc0c3
Time: 2016-06-27
Author: mcdonadt@colorado.edu
File Name: skbio/tree/_tree.py
Class Name: TreeNode
Method Name: shear


Project Name: raghakot/keras-vis
Commit Name: 9f221345e7a58804e347f2a1879b06922222413b
Time: 2017-07-03
Author: ragha@outlook.com
File Name: docs/md_autogen.py
Class Name: MarkdownAPIGenerator
Method Name: module2md


Project Name: estnltk/estnltk
Commit Name: 3891b754400bc0a8f3bdfe50025fc5251dcc5a48
Time: 2015-03-25
Author: komasing@gmail.com
File Name: estnltk/wordnet/wn.py
Class Name:
Method Name: all_synsets