Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate a GAPIC library from api definition #3208

Merged
merged 23 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug
  • Loading branch information
JoeWang1127 committed Sep 17, 2024
commit b5491c586ea669c8f0f371960f9a40936620279f
2 changes: 1 addition & 1 deletion library_generation/generate_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def generate_from_yaml(
)
shutil.copytree(api_definition_path, repo_config.output_folder, dirs_exist_ok=True)
print(f"List files in {repo_config.output_folder}")
os.listdir(repo_config.output_folder)
print(os.listdir(repo_config.output_folder))

for library_path, library in repo_config.get_libraries().items():
print(f"generating library {library.get_library_name()}")
Expand Down
2 changes: 1 addition & 1 deletion library_generation/test/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def __copy_api_definition(cls, committish: str) -> str:
shutil.copytree(f"{repo_dest}/grafeas", api_temp_dir, dirs_exist_ok=True)
shutil.rmtree(repo_dest)
print(f"List files and dirs in {api_temp_dir}")
os.listdir(api_temp_dir)
print(os.listdir(api_temp_dir))
return api_temp_dir

@classmethod
Expand Down
Loading