-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(python_samples): Allow for additional README generation in speci…
…fied path(s) (#724) * feat(python_samples): Custom path for generation * Indentation * Indentation & Typo * feat(python_samples): Custom path for generation * Indentation * Indentation & Typo * Updates based on Review * Comment update * Added testing for common.py_samples() * Repair filenames & minor fixes * Updates to exclude and testing method * Test alterations * Linting * Linting * Add exception handling * Resolve test failure * Linting * Linting * WIP: Multiple paths override, saving work * Revert "WIP: Multiple paths override, saving work" This reverts commit 4fe194e. * WIP * WIP * Docs, cleanup, linting * Revert test_git.py * Fix requested changes * Linting fix * Blacken/Lint * More linting Co-authored-by: kolea2 <45548808+kolea2@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
244 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
tests/generationmock/multiple_override_path/.repo-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "bigtable", | ||
"name_pretty": "Cloud Bigtable", | ||
"product_documentation": "https://cloud.google.com/bigtable", | ||
"client_documentation": "https://googleapis.dev/python/bigtable/latest", | ||
"issue_tracker": "https://issuetracker.google.com/savedsearches/559777", | ||
"release_level": "ga", | ||
"language": "python", | ||
"repo": "googleapis/python-bigtable", | ||
"distribution_name": "google-cloud-bigtable", | ||
"api_id": "bigtable.googleapis.com", | ||
"requires_billing": true, | ||
"client_library": true, | ||
"samples": [ | ||
{"name": "Quickstart", | ||
"description": "Example sample for product", | ||
"file": "quickstart.py", | ||
"custom_content": "This is custom text for the sample", | ||
"runnable": "True", | ||
"override_path": "override"}, | ||
{"name": "Hello World", | ||
"description": "Example beginner application", | ||
"file": "main.py", | ||
"override_path": "another_override"}, | ||
{"name": "Hello Synthtool", | ||
"description": "Example application", | ||
"file": "main.py", | ||
"override_path": "another_override"}, | ||
{"name": "Last Example", | ||
"description": "Last application", | ||
"file": "example.py"} | ||
] | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "bigtable", | ||
"name_pretty": "Cloud Bigtable", | ||
"product_documentation": "https://cloud.google.com/bigtable", | ||
"client_documentation": "https://googleapis.dev/python/bigtable/latest", | ||
"issue_tracker": "https://issuetracker.google.com/savedsearches/559777", | ||
"release_level": "ga", | ||
"language": "python", | ||
"repo": "googleapis/python-bigtable", | ||
"distribution_name": "google-cloud-bigtable", | ||
"api_id": "bigtable.googleapis.com", | ||
"requires_billing": true, | ||
"client_library": true, | ||
"samples": [ | ||
{"name": "Quickstart", | ||
"description": "Example sample for product", | ||
"file": "quickstart.py", | ||
"custom_content": "This is custom text for the sample", | ||
"runnable": "True", | ||
"override_path": "override"}, | ||
{"name": "Hello World", | ||
"description": "Example beginner application", | ||
"file": "main.py"} | ||
] | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters