<commit_before>/**
 * 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
 *
 *      http://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.
 */

variable "project_id" {
  description = "The ID of the project in which to provision resources."
  type        = string
}

variable "terraform_service_account" {
  description = "The email address of the service account that will run the Terraform config."
  type        = string
}

variable "create_repository" {
  type        = bool
  description = "When `true`, an Artifact Registry Python repository with the ID declared in `repository_id` will be created in the project declared in `project_id`. Set to `false` to reuse an existing Artifact Registry Python repository."
  default     = true
}

variable "repository_id" {
  type        = string
  description = "ID of the Python modules repository."
  default     = "python-modules"
}

variable "repository_description" {
  type        = string
  description = "Description of the Python modules repository."
  default     = "Repository for Python modules for Dataflow flex templates"
}

variable "location" {
  description = "The location of Artifact Registry. Run `gcloud artifacts locations list` to list available locations."
  type        = string
  default     = "us-central1"
}

variable "read_access_members" {
  type        = list
  description = "List of members in the standard GCP form: user:{email}, serviceAccount:{email}, group:{email} who will have read access to the repository."
  default     = []
}

variable "requirements_filename" {
  type        = string
  description = "The requirements.txt file to fetch Python modules."
}<commit_msg>chore: fixed variables python_module_repository(#118)<commit_after>/**
 * 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
 *
 *      http://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.
 */

variable "project_id" {
  description = "The ID of the project in which to provision resources."
  type        = string
}

variable "terraform_service_account" {
  description = "The email address of the service account that will run the Terraform config."
  type        = string
}

variable "create_repository" {
  description = "When `true`, an Artifact Registry Python repository with the ID declared in `repository_id` will be created in the project declared in `project_id`. Set to `false` to reuse an existing Artifact Registry Python repository."
  type        = bool
  default     = true
}

variable "repository_id" {
  description = "ID of the Python modules repository."
  type        = string
  default     = "python-modules"
}

variable "repository_description" {
  description = "Description of the Python modules repository."
  type        = string
  default     = "Repository for Python modules for Dataflow flex templates"
}

variable "location" {
  description = "The location of Artifact Registry. Run `gcloud artifacts locations list` to list available locations."
  type        = string
  default     = "us-central1"
}

variable "read_access_members" {
  description = "List of members in the standard GCP form: user:{email}, serviceAccount:{email}, group:{email} who will have read access to the repository."
  type        = list
  default     = []
}

variable "requirements_filename" {
  description = "The requirements.txt file to fetch Python modules."
  type        = string
}
{'fraction_non_alphanumeric': 0.07459207459207459, 'fraction_numerical': 0.0048951048951048955, 'mean_word_length': 3.545550847457627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2881078', 'n_tokens_mistral': 1094, 'n_tokens_neox': 1068, 'n_words': 497}