Skip to content

Conversation

@alick-at-google
Copy link
Contributor

@alick-at-google alick-at-google commented Jul 12, 2022

Description

Note: If you are adding or editing a dataset, please specify the dataset folder involved, e.g. datasets/google_trends

Checklist

  • (Required) This pull request is appropriately labeled
  • Please merge this pull request after it's approved

Use the sections below based on what's applicable to your PR and delete the rest:

Feature

  • I'm adding or editing a feature
  • I have added/revised tests for the feature

@adlersantos
Copy link
Member

When generating the resulting files, please add the license header:

def write_to_file(contents: str, filepath: pathlib.Path):
license_header = pathlib.Path(TEMPLATE_PATHS["license"]).read_text() + "\n"
with open(filepath, "w") as file_:
file_.write(license_header + contents.replace(license_header, ""))

@adlersantos
Copy link
Member

This is looking good for a 1st version! 👍🏼 Time to add tests.

@adlersantos adlersantos added the feature request New feature or request label Jul 22, 2022
@adlersantos adlersantos changed the title feat: add generate pipeline directory + dataset.yaml script feat: add scaffold script for directory + dataset.yaml setup Jul 29, 2022
Copy link
Member

@adlersantos adlersantos left a comment

Choose a reason for hiding this comment

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

Great work!

@adlersantos adlersantos merged commit 5bf354b into GoogleCloudPlatform:main Jul 29, 2022
vijay-google pushed a commit to vijay-google/public-datasets-pipelines that referenced this pull request Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants